feige
2025-05-06 be016d292a1eb3af5088e17f076e7cc6cab90576
ruoyi-ui/src/api/doctor/index.js
@@ -56,7 +56,7 @@
//上传文件
export function uploadPic(data) {
  return request({
    url: '/common/upload',
    url: '/common/uploads',
    method: 'post',
    data: data
  })
@@ -78,3 +78,54 @@
    data: data
  })
}
// -------------------------------
// 分享
export function share(data) {
  return request({
    url: '/ZfDoctorShare/share',
    method: 'post',
    data: data
  })
}
// 查看分享给谁了什么数据
export function shareToWho(data,query) {
  return request({
    url: '/ZfDoctorShare/getInfoByUserId',
    method: 'post',
    data: data,
    params: query
  })
}
// 查看谁分享了数据
export function getWhoShare(query) {
  return request({
    url: '/ZfDoctorShare/getInfoByShareId',
    method: 'get',
    params: query
  })
}
// 下载分享的数据
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(query) {
  return request({
    url: '/ZfDoctorShare/all',
    method: 'get',
    params: query
  })
}