From ba3cb9849a452b760bd8566934b65cd534b536bb Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期二, 21 十月 2025 08:09:55 +0800
Subject: [PATCH] 修改忘记密码
---
ruoyi-ui/src/api/pet/index.js | 94 +++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 90 insertions(+), 4 deletions(-)
diff --git a/ruoyi-ui/src/api/pet/index.js b/ruoyi-ui/src/api/pet/index.js
index f23068b..3373c6b 100644
--- a/ruoyi-ui/src/api/pet/index.js
+++ b/ruoyi-ui/src/api/pet/index.js
@@ -46,10 +46,10 @@
//榄呭疇澶囧繕褰�
-// 鏌ヨ鎵�鏈夐瓍瀹犲蹇樺綍璁板綍
+// 鏍规嵁榄呭疇id 鏌ヨ鎵�鏈夊蹇樻湰
export function listPetnote(query) {
return request({
- url: '/family/zfPetNote/all',
+ url: '/family/zfPetNote',
method: 'get',
params: query
})
@@ -75,15 +75,101 @@
// 鍒犻櫎榄呭疇澶囧繕褰曡褰�
export function delPetnote(Ids) {
return request({
- url: '/zfPet/' + Ids,
+ url: '/family/zfPetNote/' + Ids,
method: 'delete'
})
}
//淇敼榄呭疇澶囧繕褰曡褰�
export function updatenotePet(data) {
return request({
- url: '/zfPet',
+ url: '/family/zfPetNote',
method: 'put',
data: 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({
+ url: '/common/downLoadFile',
+ method: 'get',
+ params: data,
+ responseType: 'blob'
+ })
+}
+//瀵煎叆
+export function enload(pid,data) {
+ return request({
+ url: '/family/zfPetNote/importData/' + pid,
+ method: 'post',
+ data: data
+ })
+}
+
+// -------------------------------
+// 鍒嗕韩
+export function share(data) {
+ return request({
+ url: '/family/zfPetShare/share',
+ method: 'post',
+ data: data
+ })
+}
+// 鏌ョ湅鍒嗕韩缁欒皝浜嗕粈涔堟暟鎹�
+export function shareToWho(data,query) {
+ return request({
+ url: '/family/zfPetShare/getInfoByUserId',
+ method: 'post',
+ data: data,
+ params: query
+ })
+}
+// 鏌ョ湅璋佸垎浜簡鏁版嵁
+export function getWhoShare(query) {
+ return request({
+ url: '/family/zfPetShare/getInfoByShareId',
+ method: 'get',
+ params: query
+ })
+}
+// 涓嬭浇鍒嗕韩鐨勬暟鎹�
+export function downShareData(data) {
+ return request({
+ url: '/family/zfPetShare/downloadDate',
+ method: 'post',
+ data: data
+ })
+}
+// 鏀跺洖鍒嗕韩鏁版嵁
+export function deleteShareData(data) {
+ return request({
+ url: '/family/zfPetShare/deleteInfoByUserId',
+ method: 'post',
+ data: data
+ })
+}
+// 灞曠ず涓嬭浇鐨勬暟鎹�
+export function showShareData(query) {
+ return request({
+ url: '/family/zfPetShare/all',
+ method: 'get',
+ params: query
+ })
+}
--
Gitblit v1.9.1