KindergartenAppletUI/api/index/index.js
2022-08-30 16:02:31 +08:00

42 lines
822 B
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/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
//     })
// }