From c1b5e41ca4397b5589a9d259e4501de7db912fd7 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 28 八月 2023 10:37:47 +0800
Subject: [PATCH] 	modified:   src/components/experiment/checkTheReport/index.vue

---
 src/api/util/requestUtil.js |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/src/api/util/requestUtil.js b/src/api/util/requestUtil.js
index 263da29..df22c02 100644
--- a/src/api/util/requestUtil.js
+++ b/src/api/util/requestUtil.js
@@ -16,3 +16,29 @@
     })
 }
 
+export function put(path, data) {
+    return request({
+        url: path,
+        method: 'put',
+        data
+    })
+}
+
+export function wpost(path, params) {
+    return request({
+        url: path,
+        method: 'post',
+        params
+    })
+}
+
+export function postFile(path, data) {
+    return request({
+        url: path,
+        method: 'post',
+        headers: {
+            'Content-Type': 'multipart/form-data'
+          },
+        data
+    })
+}

--
Gitblit v1.9.3