From 85d35dcc5899e54128e63a11ad8da2fec6e9394f Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期六, 26 八月 2023 15:43:56 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.110.209:9001/r/lims-before

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

diff --git a/src/api/util/requestUtil.js b/src/api/util/requestUtil.js
index 263da29..3055a2f 100644
--- a/src/api/util/requestUtil.js
+++ b/src/api/util/requestUtil.js
@@ -16,3 +16,21 @@
     })
 }
 
+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