KindergartenAppletUI/api/index/index.js
2023-04-19 11:28:12 +08:00

81 lines
1.7 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import request from "../request.js"
export function getPreOrderById(data, data2) {
return request({
url: `/kindergarten/applet/kindergartenLogin?loginCode=${data}&phoneCode=${data2}`,
method: 'POST'
})
}
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
})
}
//查看成绩
export function getStudentScore(data) {
return request({
url: '/kindergarten/applet/getStudentScoreInfo',
method: 'POST',
data: data
})
}
//绑定家长手机号
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 getMotionPrescription(studentId, batchCode) {
return request({
url: `/kindergarten/applet/getMotionPrescription?studentId=${studentId}&batchCode=${batchCode}`,
method: 'GET'
})
}
// export function addConfirmOrder(data) {
//     return request({
//         url: ``,
//         method: "post",
//         data
//     })
// }