From 3f35c2f5d5eea9c1f0212b5fafa273adb4de0a82 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期五, 29 三月 2024 23:16:19 +0800 Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web --- 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