This commit is contained in:
2024-04-15 18:52:41 +08:00
parent 0924fb0f73
commit 65fede2ec4
4 changed files with 79 additions and 1 deletions

View 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
})
}
}

View File

@@ -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: {}
}