Commit 0d96ef4d authored by 陈前坚's avatar 陈前坚

perf: log

parent 6c4cb12f
...@@ -154,15 +154,15 @@ const ServiceLog = () => { ...@@ -154,15 +154,15 @@ const ServiceLog = () => {
post(`${PUBLISH_SERVICE}/LogCenter${url}`, { post(`${PUBLISH_SERVICE}/LogCenter${url}`, {
// 获取日志表数据时PageSize设置为200,其他接口默认值20 // 获取日志表数据时PageSize设置为200,其他接口默认值20
PageSize: url === '/GetOMSLog' ? 200 : 20, PageSize: url === '/GetOMSLog' ? 200 : 20,
DateFrom: startTime.format('YYYY-MM-DD HH:mm:ss'), // DateFrom: startTime.format('YYYY-MM-DD HH:mm:ss'),
DateTo: endTime.format('YYYY-MM-DD HH:mm:ss'), // DateTo: endTime.format('YYYY-MM-DD HH:mm:ss'),
IP: '', // IP: '',
Module: url === '/GetOMSLog' ? searchWord : '', // Module: url === '/GetOMSLog' ? searchWord : '',
LogType: url === '/GetOMSLog' ? +logType : '', // LogType: url === '/GetOMSLog' ? +logType : '',
Description: '', // Description: '',
LoginName: '', // LoginName: '',
UserName: '', // UserName: '',
StaticsType: +timeInterval, // StaticsType: +timeInterval,
}) })
.then(res => { .then(res => {
if (res.code === 0) { if (res.code === 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment