From b439336f0e404d9d9aebd800fb5ad00d8b20210d Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期二, 11 六月 2024 14:07:21 +0800 Subject: [PATCH] 修改直播模块 --- ruoyi-ui/src/api/pet/index.js | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/api/pet/index.js b/ruoyi-ui/src/api/pet/index.js index ae4a9c8..ef2334a 100644 --- a/ruoyi-ui/src/api/pet/index.js +++ b/ruoyi-ui/src/api/pet/index.js @@ -90,13 +90,21 @@ //涓婁紶鏂囦欢 -export function uploadPic(data) { +export function uploadPic1(data) { return request({ url: '/common/upload', method: 'post', data: data }) } +//涓婁紶鏂囦欢 +export function uploadPic(data) { + return request({ + url: '/common/uploads', + method: 'post', + data: data + }) +} //涓嬭浇鏂囦欢 export function download(data) { return request({ -- Gitblit v1.9.1