From 2a45cb4af3f72c23de76c770bddeda71fbb7c62e Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Mon, 27 Mar 2023 09:24:23 +0800
Subject: [PATCH] 更改名称
---
src/api/sgyhpczl/troubleshooting.js | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/api/sgyhpczl/troubleshooting.js b/src/api/sgyhpczl/troubleshooting.js
index 2dbe1f1..faae69d 100644
--- a/src/api/sgyhpczl/troubleshooting.js
+++ b/src/api/sgyhpczl/troubleshooting.js
@@ -58,26 +58,28 @@
});
}
//上报
-export function put(id) {
+export function upload_do(data) {
return request({
headers:{
'token': getTokenAndVerify().token,
'verify':getTokenAndVerify().verify
},
- contentType: "application/json",
+ url: "/taboi/conference/upload_do",
+ contentType: "multipart/form-data",
method: 'POST',
data
});
}
//撤销
-export function revoke(id) {
+export function revoke(data) {
return request({
headers:{
'token': getTokenAndVerify().token,
'verify':getTokenAndVerify().verify
},
contentType: "multipart/form-data",
- url: "/taboi/analogy/revoke_do?id="+id,
- method: 'GET',
+ url: "/taboi/conference/revoke_do",
+ method: 'POST',
+ data
});
}
--
Gitblit v1.9.2