KindergartenAppletUI/api/index/index.js

81 lines
1.7 KiB
JavaScript
Raw Normal View History

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
})
}
2023-04-19 11:28:12 +08:00
export function loginLogging(data) {
return request({
url: '/kindergartenApplet/actionLogRecord/loginLogging',
method: 'POST',
data: data
})
}
export function prescriptionLogging(data) {
return request({
url: '/kindergartenApplet/actionLogRecord/prescriptionLogging',
method: 'POST',
data: data
})
}
export function prescriptionVideoLogging(data) {
return request({
url: '/kindergartenApplet/actionLogRecord/prescriptionVideoLogging',
method: 'POST',
data: data
})
}
export function getChildrenResultScore(data) {
return request({
url: '/kindergarten/applet/getChildrenResultScore',
method: 'POST',
data: data
})
}
//查看成绩
2022-08-24 15:01:04 +08:00
export function getStudentScore(data) {
return request({
2023-04-19 11:28:12 +08:00
url: '/kindergarten/applet/getStudentScoreInfo',
method: 'POST',
data: data
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
})
}
2023-04-19 11:28:12 +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-10-08 16:52:26 +08:00
2023-04-19 11:28:12 +08:00
export function getMotionPrescription(studentId, batchCode) {
2022-10-08 16:52:26 +08:00
return request({
2023-04-19 11:28:12 +08:00
url: `/kindergarten/applet/getMotionPrescription?studentId=${studentId}&batchCode=${batchCode}`,
2022-10-08 16:52:26 +08:00
method: 'GET'
})
}
2022-08-24 15:01:04 +08:00
// export function addConfirmOrder(data) {
//     return request({
//         url: ``,
//         method: "post",
//         data
//     })
// }