xinelu-applet-ui/api/pagesB/modify/modify.js

24 lines
536 B
JavaScript
Raw Normal View History

2024-06-25 18:25:50 +08:00
import request from "@/api/request.js"
2023-09-22 11:08:14 +08:00
// 修改信息
export function updateInformation(data){
return request({
url: '/nurseApp/login/updateInformation',
2024-06-25 18:25:50 +08:00
method: 'post',
2023-09-22 11:08:14 +08:00
data,
2023-10-13 15:17:41 +08:00
header: {
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
},
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: {
2023-11-09 10:04:35 +08:00
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token'),
region: uni.getStorageSync('region'),
2023-10-13 15:17:41 +08:00
},
2023-09-22 11:08:14 +08:00
})
}