From acbdfc4639721da71176894983d852a5fd696a04 Mon Sep 17 00:00:00 2001 From: MichelleChung <1242874891@qq.com> Date: 星期一, 24 七月 2023 19:22:20 +0800 Subject: [PATCH] !31 【轻量级 PR】新增全局请求头 clientid 适配后端 token 校验 Merge pull request !31 from MichelleChung/ts --- src/api/monitor/operlog/index.ts | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/api/monitor/operlog/index.ts b/src/api/monitor/operlog/index.ts index d7e5faa..7ac3453 100644 --- a/src/api/monitor/operlog/index.ts +++ b/src/api/monitor/operlog/index.ts @@ -4,25 +4,25 @@ // 鏌ヨ鎿嶄綔鏃ュ織鍒楄〃 export function list(query: OperLogQuery): AxiosPromise<OperLogVO[]> { - return request({ - url: '/monitor/operlog/list', - method: 'get', - params: query - }); + return request({ + url: '/monitor/operlog/list', + method: 'get', + params: query + }); } // 鍒犻櫎鎿嶄綔鏃ュ織 export function delOperlog(operId: string | number | Array<string | number>) { - return request({ - url: '/monitor/operlog/' + operId, - method: 'delete' - }); + return request({ + url: '/monitor/operlog/' + operId, + method: 'delete' + }); } // 娓呯┖鎿嶄綔鏃ュ織 export function cleanOperlog() { - return request({ - url: '/monitor/operlog/clean', - method: 'delete' - }); + return request({ + url: '/monitor/operlog/clean', + method: 'delete' + }); } -- Gitblit v1.9.3