From 05d623d5b806f6650b9544dcbd4f322d677bf9a8 Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期二, 26 三月 2024 16:44:40 +0800 Subject: [PATCH] 完善直播模块2 --- ruoyi-ui/src/api/economy/index.js | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ruoyi-ui/src/api/economy/index.js b/ruoyi-ui/src/api/economy/index.js index 43cbdeb..cb2e9d3 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({ @@ -49,7 +50,7 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) @@ -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