000
This commit is contained in:
14
cdTMP/src/api/monitor/operationLog.js
Normal file
14
cdTMP/src/api/monitor/operationLog.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import { request } from "@/api/request"
|
||||
export default {
|
||||
/**
|
||||
* 分页查询操作日志
|
||||
* @returns 操作日志分页结果
|
||||
*/
|
||||
getOperationsLogs(params = { pageSize: 10, page: 1 }) {
|
||||
return request({
|
||||
url: `/system/log/operation_list`,
|
||||
method: "get",
|
||||
params
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -98,7 +98,7 @@ function createRequest(service) {
|
||||
"Accept-Language": "zh_CN",
|
||||
"Content-Type": get(config, "headers.Content-Type", "application/json;charset=UTF-8")
|
||||
},
|
||||
timeout: 10000,
|
||||
timeout: 20000,
|
||||
baseURL: env.VITE_APP_OPEN_PROXY === "true" ? env.VITE_APP_PROXY_PREFIX : env.VITE_APP_BASE_URL,
|
||||
data: {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user