From 271679eded47a621158e7a4f1a570ed1b4b508c8 Mon Sep 17 00:00:00 2001
From: panzy <225@qq.com>
Date: Tue, 10 May 2022 21:05:30 +0800
Subject: [PATCH] 对接接口
---
src/api/sgyhpczl/hiddenDangerRectification.js | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/api/sgyhpczl/hiddenDangerRectification.js b/src/api/sgyhpczl/hiddenDangerRectification.js
index 914812c..476006b 100644
--- a/src/api/sgyhpczl/hiddenDangerRectification.js
+++ b/src/api/sgyhpczl/hiddenDangerRectification.js
@@ -75,3 +75,29 @@
data
});
}
+export function uploadFile(data) {
+ return request({
+ headers:{
+ 'token': getTokenAndVerify().token,
+ 'verify':getTokenAndVerify().verify
+ },
+ url: "/taboi/file/upload_do",
+ contentType: "multipart/form-data",
+ method: 'POST',
+ data,
+ });
+}
+
+//保存延期申请
+export function saveDelayApply(data) {
+ return request({
+ headers:{
+ 'token': getTokenAndVerify().token,
+ 'verify':getTokenAndVerify().verify
+ },
+ url: "/taboi/danger/delay_do",
+ contentType: "application/json",
+ method: 'POST',
+ data,
+ });
+}
--
Gitblit v1.9.2