From d35533b1b42df7e1808a19a8ea72613e605cd6ef Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 09 十一月 2023 16:49:35 +0800 Subject: [PATCH] 添加、编辑上传图片接口联调及编辑和查看和列表图片回显 --- src/api/common/other.js | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/api/common/other.js b/src/api/common/other.js index 733ab2b..9a97585 100644 --- a/src/api/common/other.js +++ b/src/api/common/other.js @@ -1,5 +1,5 @@ // import request from "@/common/untils/request.js" -import request from "@/common/untils/request"; +import request from "@/common/untils/request" // 鏌ヨ鍏徃鍒楄〃 export const getCompanyList = (data) => { @@ -9,3 +9,12 @@ params: data }) } + +// 涓婁紶闄勪欢 +export const uploadFiles = (data) => { + return request({ + url: "/api-wms/v1/attachment/uploadFiles", + method: "post", + data + }) +} -- Gitblit v1.8.0