From 3c1d55fe67cf436de36fd2e7ddc057e26b7a89c9 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期五, 19 五月 2023 15:12:15 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/api/common.js | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/api/common.js b/src/api/common.js index fd002a4..c914421 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -10,12 +10,8 @@ export function getImgUrl(val) { - return request({ - url: '/minio/getUrl', - method: 'get', - params: { - fileName: val - } + return new Promise(resolve => { + resolve("/minio/img/" + val) }) } @@ -33,3 +29,11 @@ method: 'get', }) } + +export function checkPass(params) { + return request({ + url: `/report/audit`, + method: 'post', + data: params + }) +} \ No newline at end of file -- Gitblit v1.8.0