2023-09-22 11:30:57 +08:00
|
|
|
import request from "../../request.js"
|
2023-09-22 11:08:14 +08:00
|
|
|
export function appPersonal(patientId) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `/nurseApp/login/appPersonal?patientId=${patientId}`,
|
2023-10-13 15:17:41 +08:00
|
|
|
method: 'GET',
|
|
|
|
|
header: {
|
|
|
|
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
|
|
|
|
},
|
2023-09-22 11:08:14 +08:00
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//邀请
|
|
|
|
|
export function inviteFriends(patientId) {
|
|
|
|
|
return request({
|
|
|
|
|
url: `/nurseApplet/patientInfo/inviteFriends?inviteId=${patientId}`,
|
2023-10-13 15:17:41 +08:00
|
|
|
method: 'post',
|
|
|
|
|
header: {
|
|
|
|
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
|
|
|
|
},
|
2023-09-22 11:08:14 +08:00
|
|
|
})
|
|
|
|
|
}
|