Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
fcd5ddc5
Commit
fcd5ddc5
authored
Dec 18, 2020
by
Maofei94
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of g.civnet.cn:ReactWeb5/maintenance
parents
3e9813e2
a0bf59bd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
index.js
src/pages/log/loginLog/index.js
+1
-1
index.js
src/pages/log/omsLog/index.js
+5
-4
index.js
src/pages/log/serviceLog/index.js
+5
-4
No files found.
src/pages/log/loginLog/index.js
View file @
fcd5ddc5
...
...
@@ -77,7 +77,7 @@ const ServiceLog = () => {
const
getData
=
()
=>
{
post
(
`
${
PUBLISH_SERVICE
}
/LogCenter/GetLoginLog`
,
{
PageIndex
:
1
,
PageSize
:
2
00
,
PageSize
:
10
00
,
DateFrom
:
startTime
.
format
(
'YYYY-MM-DD HH:mm:ss'
),
DateTo
:
endTime
.
format
(
'YYYY-MM-DD HH:mm:ss'
),
IP
:
''
,
...
...
src/pages/log/omsLog/index.js
View file @
fcd5ddc5
...
...
@@ -71,9 +71,9 @@ const ServiceLog = () => {
key
:
'CallTime'
,
},
{
title
:
'
访问者
IP'
,
dataIndex
:
'
IP
'
,
key
:
'
IP
'
,
title
:
'IP'
,
dataIndex
:
'
DownstreamRequest
'
,
key
:
'
DownstreamRequest
'
,
},
{
title
:
'返回状态'
,
...
...
@@ -153,7 +153,8 @@ const ServiceLog = () => {
const
getData
=
(
url
,
set
)
=>
{
post
(
`
${
PUBLISH_SERVICE
}
/LogCenter
${
url
}
`
,
{
// 获取日志表数据时PageSize设置为200,其他接口默认值20
PageSize
:
url
===
'/GetOMSLog'
?
200
:
20
,
PageIndex
:
1
,
PageSize
:
url
===
'/GetOMSLog'
?
1000
:
20
,
DateFrom
:
startTime
.
format
(
'YYYY-MM-DD HH:mm:ss'
),
DateTo
:
endTime
.
format
(
'YYYY-MM-DD HH:mm:ss'
),
IP
:
''
,
...
...
src/pages/log/serviceLog/index.js
View file @
fcd5ddc5
...
...
@@ -71,9 +71,9 @@ const ServiceLog = () => {
key
:
'CallTime'
,
},
{
title
:
'
访问者
IP'
,
dataIndex
:
'
IP
'
,
key
:
'
IP
'
,
title
:
'IP'
,
dataIndex
:
'
DownstreamRequest
'
,
key
:
'
DownstreamRequest
'
,
},
{
title
:
'返回状态'
,
...
...
@@ -153,7 +153,8 @@ const ServiceLog = () => {
const
getData
=
(
url
,
set
)
=>
{
post
(
`
${
PUBLISH_SERVICE
}
/LogCenter
${
url
}
`
,
{
// 获取日志表数据时PageSize设置为200,其他接口默认值20
PageSize
:
url
===
'/GetOMSLog'
?
200
:
20
,
PageIndex
:
1
,
PageSize
:
url
===
'/GetOMSLog'
?
1000
:
20
,
DateFrom
:
startTime
.
format
(
'YYYY-MM-DD HH:mm:ss'
),
DateTo
:
endTime
.
format
(
'YYYY-MM-DD HH:mm:ss'
),
IP
:
''
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment