82 lines
1.6 KiB
JavaScript
82 lines
1.6 KiB
JavaScript
|
|
import request from "../request.js"
|
|||
|
|
|
|||
|
|
export function getWeChatUser(loginCode) {
|
|||
|
|
return request({
|
|||
|
|
url: `/nurseApplet/login/getWeChatUserInfo?loginCode=${loginCode}`,
|
|||
|
|
method: 'GET'
|
|||
|
|
})
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 个人中心
|
|||
|
|
export function getPatient(openId) {
|
|||
|
|
return request({
|
|||
|
|
url: `/nurseApplet/login/getPatientInfo?openId=${openId}`,
|
|||
|
|
method: 'GET'
|
|||
|
|
})
|
|||
|
|
}
|
|||
|
|
// 护理站
|
|||
|
|
// export function getPatient(openId) {
|
|||
|
|
// return request({
|
|||
|
|
// url: `/nurseApplet/system/nurseType/list=${openId}`,
|
|||
|
|
// method: 'GET'
|
|||
|
|
// })
|
|||
|
|
// }
|
|||
|
|
|
|||
|
|
|
|||
|
|
export function getAppletPictureUrl(fileName) {
|
|||
|
|
return request({
|
|||
|
|
url: `/nurseApplet/login/getAppletPictureUrl?fileName=${fileName}`,
|
|||
|
|
method: 'GET'
|
|||
|
|
})
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
export function uploadHeadPicture(data) {
|
|||
|
|
return request({
|
|||
|
|
url: `/nurseApplet/login/uploadHeadPicture`,
|
|||
|
|
method: 'POST',
|
|||
|
|
data
|
|||
|
|
})
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// export function getPreOrderById(data,data2) {
|
|||
|
|
// return request({
|
|||
|
|
// url: `/kindergarten/applet/appletLogin?loginCode=${data}&phoneCode=${data2}`,
|
|||
|
|
// method: 'GET'
|
|||
|
|
// })
|
|||
|
|
// }
|
|||
|
|
// //查看
|
|||
|
|
// export function getStudentScore(data) {
|
|||
|
|
// return request({
|
|||
|
|
// url: `/kindergarten/applet/getStudentScoreInfo?studentId=${data}`,
|
|||
|
|
// method: 'GET'
|
|||
|
|
// })
|
|||
|
|
// }
|
|||
|
|
// //绑定家长手机号
|
|||
|
|
// export function bindParent(data) {
|
|||
|
|
// return request({
|
|||
|
|
// url: `/kindergarten/applet/bindParentInfo`,
|
|||
|
|
// method: 'POST',
|
|||
|
|
// data
|
|||
|
|
// })
|
|||
|
|
// }
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
// export function getInfoByPhone(data) {
|
|||
|
|
// return request({
|
|||
|
|
// url: `/kindergarten/applet/getInfoByPhone?phone=${data}`,
|
|||
|
|
// method: 'GET'
|
|||
|
|
// })
|
|||
|
|
// }
|
|||
|
|
|
|||
|
|
|
|||
|
|
// export function addConfirmOrder(data) {
|
|||
|
|
// return request({
|
|||
|
|
// url: ``,
|
|||
|
|
// method: "post",
|
|||
|
|
// data
|
|||
|
|
// })
|
|||
|
|
// }
|