23 lines
509 B
JavaScript
23 lines
509 B
JavaScript
import request from "../../request.js"
|
|
export function appPersonal(patientId) {
|
|
return request({
|
|
url: `/nurseApp/login/appPersonal?patientId=${patientId}`,
|
|
method: 'GET',
|
|
header: {
|
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
|
},
|
|
})
|
|
}
|
|
|
|
|
|
//邀请
|
|
export function inviteFriends(patientId) {
|
|
return request({
|
|
url: `/nurseApplet/patientInfo/inviteFriends?inviteId=${patientId}`,
|
|
method: 'post',
|
|
header: {
|
|
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
|
|
},
|
|
})
|
|
}
|