From f16c444ad4d0478fa73c7005d7e94b551963769b Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期一, 13 十一月 2023 14:48:44 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/WMS into dev

---
 src/api/common/other.js |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/api/common/other.js b/src/api/common/other.js
index 08db148..9a97585 100644
--- a/src/api/common/other.js
+++ b/src/api/common/other.js
@@ -1,9 +1,20 @@
 // import request from "@/common/untils/request.js"
-import axios from "axios"
+import request from "@/common/untils/request"
 
 // 鏌ヨ鍏徃鍒楄〃
-export const getCompanyList = async (data) => {
-  return await axios.get(`/api-wms/v1/company/company`, {
+export const getCompanyList = (data) => {
+  return request({
+    url: "/api-wms/v1/company/company",
+    method: "get",
     params: data
   })
 }
+
+// 涓婁紶闄勪欢
+export const uploadFiles = (data) => {
+  return request({
+    url: "/api-wms/v1/attachment/uploadFiles",
+    method: "post",
+    data
+  })
+}

--
Gitblit v1.8.0