From c0702fb50443fb03a4f5a7beb127294a17fc1dcd Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期六, 30 三月 2024 23:58:01 +0800
Subject: [PATCH] 修改了3月30这周的所有bug
---
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