From 475958b9c193fc364b6bf25af05a50e59375d643 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期五, 23 十二月 2022 14:52:40 +0800 Subject: [PATCH] feat: 内容提交 --- src/api/common.js | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/api/common.js b/src/api/common.js index 28a70b4..2dfdc43 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -8,6 +8,7 @@ }) } + export function getImgUrl(val) { return request({ url: '/minio/getUrl', @@ -16,4 +17,27 @@ fileName: val } }) +} + +export function report(params) { + return request({ + url: '/report', + method: 'post', + data: params + }) +} + +export function getReportById(id) { + return request({ + url: `/report/${id}`, + 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