api
This commit is contained in:
parent
9f4c2ea8c5
commit
0f353b91b2
8
api/forgotPassword/forgotPassword.js
Normal file
8
api/forgotPassword/forgotPassword.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import request from "../request.js"
|
||||||
|
|
||||||
|
export function ForgotPassword(phone, password,verification) {
|
||||||
|
return request({
|
||||||
|
url: `/nurseApp/login/appForgotPassword?phone=${phone}&password=${password}&verification=${verification}`,
|
||||||
|
method: 'POST'
|
||||||
|
})
|
||||||
|
}
|
||||||
17
api/modify/modify.js
Normal file
17
api/modify/modify.js
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
import request from "../request.js"
|
||||||
|
|
||||||
|
// 修改信息
|
||||||
|
export function updateInformation(data){
|
||||||
|
return request({
|
||||||
|
url: '/nurseApp/login/updateInformation',
|
||||||
|
method: 'POST',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function appPersonal(patientId) {
|
||||||
|
return request({
|
||||||
|
url: `/nurseApp/login/appPersonal?patientId=${patientId}`,
|
||||||
|
method: 'GET'
|
||||||
|
})
|
||||||
|
}
|
||||||
7
api/user/user.js
Normal file
7
api/user/user.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import request from "../request.js"
|
||||||
|
export function appPersonal(patientId) {
|
||||||
|
return request({
|
||||||
|
url: `/nurseApp/login/appPersonal?patientId=${patientId}`,
|
||||||
|
method: 'GET'
|
||||||
|
})
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user