From cd5df9d3ae0ad22cd658ad6472926f4c67346004 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期三, 31 七月 2024 22:06:55 +0800
Subject: [PATCH] 解决了家庭小医生的分享
---
ruoyi-ui/src/api/pet/index.js | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/api/pet/index.js b/ruoyi-ui/src/api/pet/index.js
index ae4a9c8..d9a5510 100644
--- a/ruoyi-ui/src/api/pet/index.js
+++ b/ruoyi-ui/src/api/pet/index.js
@@ -90,9 +90,17 @@
//涓婁紶鏂囦欢
-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
})
@@ -107,9 +115,9 @@
})
}
//瀵煎叆
-export function enload(pid) {
+export function enload(pid,data) {
return request({
- url: '/zfPetNote/importData/' + pid,
+ url: '/family/zfPetNote/importData/' + pid,
method: 'post',
data: data
})
--
Gitblit v1.9.1