2022-08-24 15:01:04 +08:00
|
|
|
|
import request from "../request.js"
|
|
|
|
|
|
|
2022-10-08 16:52:26 +08:00
|
|
|
|
export function getPreOrderById(data, data2) {
|
2022-08-24 15:01:04 +08:00
|
|
|
|
return request({
|
2023-04-03 15:16:06 +08:00
|
|
|
|
url: `/kindergarten/applet/kindergartenLogin?loginCode=${data}&phoneCode=${data2}`,
|
|
|
|
|
|
method: 'POST'
|
2022-08-24 15:01:04 +08:00
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
//查看
|
|
|
|
|
|
export function getStudentScore(data) {
|
|
|
|
|
|
return request({
|
|
|
|
|
|
url: `/kindergarten/applet/getStudentScoreInfo?studentId=${data}`,
|
|
|
|
|
|
method: 'GET'
|
2022-10-08 16:52:26 +08:00
|
|
|
|
})
|
2022-08-24 15:01:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
//绑定家长手机号
|
|
|
|
|
|
export function bindParent(data) {
|
|
|
|
|
|
return request({
|
|
|
|
|
|
url: `/kindergarten/applet/bindParentInfo`,
|
|
|
|
|
|
method: 'POST',
|
|
|
|
|
|
data
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
2022-08-30 16:02:31 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function getInfoByPhone(data) {
|
|
|
|
|
|
return request({
|
|
|
|
|
|
url: `/kindergarten/applet/getInfoByPhone?phone=${data}`,
|
|
|
|
|
|
method: 'GET'
|
2022-10-08 16:52:26 +08:00
|
|
|
|
})
|
2022-08-30 16:02:31 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-08 16:52:26 +08:00
|
|
|
|
|
|
|
|
|
|
export function getReportDownAddress(studentId, batchCode) {
|
|
|
|
|
|
return request({
|
|
|
|
|
|
url: `/kindergarten/applet/getReportDownAddress?studentId=${studentId}&batchCode=${batchCode}`,
|
|
|
|
|
|
method: 'GET'
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-08-24 15:01:04 +08:00
|
|
|
|
// export function addConfirmOrder(data) {
|
|
|
|
|
|
// return request({
|
|
|
|
|
|
// url: ``,
|
|
|
|
|
|
// method: "post",
|
|
|
|
|
|
// data
|
|
|
|
|
|
// })
|
|
|
|
|
|
// }
|