From a4d8869bff7df9a2b888530df9efef46b8d6eaf4 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期四, 22 二月 2024 12:47:00 +0800 Subject: [PATCH] 提交多图片,视频上传 --- ruoyi-ui/src/api/economy/index.js | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/api/economy/index.js b/ruoyi-ui/src/api/economy/index.js index 43cbdeb..214e221 100644 --- a/ruoyi-ui/src/api/economy/index.js +++ b/ruoyi-ui/src/api/economy/index.js @@ -11,6 +11,7 @@ }) } + // 鏍规嵁id鏌ヨ鎵�鏈夋敹鏀彴璐︿俊鎭� export function getEconomyInfo(id) { return request({ @@ -64,13 +65,12 @@ }) } -//瀵煎叆鏁版嵁 -// export function download(data) { -// return request({ -// url: '/zfEquipment/importData', -// method: 'post', -// params: data, -// responseType: 'blob' -// }) -// } +//瀵煎叆 +export function enload(data) { + return request({ + url: 'zfEconomy/importData', + method: 'post', + data: data + }) +} -- Gitblit v1.9.1