xinelu-applet-ui/api/pages/myinformation/myinformation.js
2023-10-13 15:17:41 +08:00

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')
},
})
}