From 9c376c3c54702b872ad690055c7bac16b64e817c Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期一, 01 七月 2024 18:13:23 +0800 Subject: [PATCH] 完成了直播roomId的添加,完成了家庭小医生分享模块 --- ruoyi-ui/src/api/doctor/index.js | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/api/doctor/index.js b/ruoyi-ui/src/api/doctor/index.js index a28505b..275411e 100644 --- a/ruoyi-ui/src/api/doctor/index.js +++ b/ruoyi-ui/src/api/doctor/index.js @@ -78,3 +78,51 @@ data: data }) } +// ------------------------------- +// 鍒嗕韩 +export function share(data) { + return request({ + url: '/ZfDoctorShare/share', + method: 'post', + data: data + }) +} +// 鏌ョ湅鍒嗕韩缁欒皝浜嗕粈涔堟暟鎹� +export function shareToWho(data) { + return request({ + url: '/ZfDoctorShare/getInfoByUserId', + method: 'post', + data: data + }) +} +// 鏌ョ湅璋佸垎浜簡鏁版嵁 +export function getWhoShare() { + return request({ + url: '/ZfDoctorShare/getInfoByShareId', + method: 'get', + }) +} +// 涓嬭浇鍒嗕韩鐨勬暟鎹� +export function downShareData(data) { + return request({ + url: '/ZfDoctorShare/downloadDate', + method: 'post', + data: data + }) +} +// 鏀跺洖鍒嗕韩鏁版嵁 +export function deleteShareData(data) { + return request({ + url: '/ZfDoctorShare/deleteInfoByUserId', + method: 'post', + data: data + }) +} +// 灞曠ず涓嬭浇鐨勬暟鎹� +export function showShareData() { + return request({ + url: '/ZfDoctorShare/all', + method: 'get' + }) +} + -- Gitblit v1.9.1