|
@ -15,11 +15,11 @@ export const logOut = (data={}) => http.post('member/auth/logout', data, {custom |
|
|
// 驾校列表分页
|
|
|
// 驾校列表分页
|
|
|
export const schoolPage = (params) => http.get('business/school/page', {params: params}) |
|
|
export const schoolPage = (params) => http.get('business/school/page', {params: params}) |
|
|
// 附近场地
|
|
|
// 附近场地
|
|
|
export const getexamSite = (params) => http.get('business/school/getexamSite', {params: params}) |
|
|
|
|
|
|
|
|
// export const getexamSite = (params) => http.get('business/school/getexamSite', {params: params})
|
|
|
// 考场详情
|
|
|
// 考场详情
|
|
|
export const getExamSiteDatil = (params) => http.get('business/school/getExamSiteDatil', {params: params}) |
|
|
|
|
|
|
|
|
// export const getExamSiteDatil = (params) => http.get('business/school/getExamSiteDatil', {params: params})
|
|
|
// 考场资讯
|
|
|
// 考场资讯
|
|
|
export const getExamSiteInfo = (params) => http.get('business/school/getExamSiteInfo', {params: params}) |
|
|
|
|
|
|
|
|
// export const getExamSiteInfo = (params) => http.get('business/school/getExamSiteInfo', {params: params})
|
|
|
// 创建驾校评价
|
|
|
// 创建驾校评价
|
|
|
export const addSchoolComment = (data={}) => http.post('business/appcomplain/addSchoolComment', data,) |
|
|
export const addSchoolComment = (data={}) => http.post('business/appcomplain/addSchoolComment', data,) |
|
|
// 创建教练评价
|
|
|
// 创建教练评价
|
|
@ -39,23 +39,23 @@ export const schoolClass = (params) => http.get('business/school-class/page', {p |
|
|
// 教练列表分页
|
|
|
// 教练列表分页
|
|
|
export const coachPage = (params) => http.get('business/coach/page', {params: params}) |
|
|
export const coachPage = (params) => http.get('business/coach/page', {params: params}) |
|
|
// 公益视频
|
|
|
// 公益视频
|
|
|
export const publicVideoPage = (params) => http.get('business/video/page', {params: params}) |
|
|
|
|
|
|
|
|
// export const publicVideoPage = (params) => http.get('business/video/page', {params: params})
|
|
|
// 公益视频 详情
|
|
|
// 公益视频 详情
|
|
|
export const publicGetvideo = (params) => http.get('business/video/getvideo', {params: params}) |
|
|
|
|
|
|
|
|
// export const publicGetvideo = (params) => http.get('business/video/getvideo', {params: params})
|
|
|
// 公益视频点赞
|
|
|
// 公益视频点赞
|
|
|
export const createUpvote = (data) => http.post('business/contentdata/createUpvote', data) |
|
|
|
|
|
|
|
|
// export const createUpvote = (data) => http.post('business/contentdata/createUpvote', data)
|
|
|
// 公益视频取消点赞 upvoteId
|
|
|
// 公益视频取消点赞 upvoteId
|
|
|
export const deleteUpvote = (data) => http.delete(`/business/contentdata/deleteUpvote?upvoteId=${data.upvoteId}&mobile=${data.mobile}`) |
|
|
|
|
|
|
|
|
// export const deleteUpvote = (data) => http.delete(`/business/contentdata/deleteUpvote?upvoteId=${data.upvoteId}&mobile=${data.mobile}`)
|
|
|
// 公益视频收藏
|
|
|
// 公益视频收藏
|
|
|
export const createCollect = (data) => http.post('business/contentdata/createCollect', data) |
|
|
|
|
|
|
|
|
// export const createCollect = (data) => http.post('business/contentdata/createCollect', data)
|
|
|
// 公益视频取消收藏 CollectId
|
|
|
// 公益视频取消收藏 CollectId
|
|
|
export const deleteRetransmission = (data) => http.delete(`business/contentdata/deleteCollect?collectId=${data.CollectId}&mobile=${data.mobile}`) |
|
|
|
|
|
|
|
|
// export const deleteRetransmission = (data) => http.delete(`business/contentdata/deleteCollect?collectId=${data.CollectId}&mobile=${data.mobile}`)
|
|
|
// 公益视频分享
|
|
|
// 公益视频分享
|
|
|
export const createRetransmission = (data) => http.post('business/contentdata/createRetransmission', data) |
|
|
|
|
|
|
|
|
// export const createRetransmission = (data) => http.post('business/contentdata/createRetransmission', data)
|
|
|
// 公益视频是否点赞收藏
|
|
|
// 公益视频是否点赞收藏
|
|
|
export const getlikesCollection = (params) => http.get('business/users/getContent', {params: params}) |
|
|
|
|
|
|
|
|
// export const getlikesCollection = (params) => http.get('business/users/getContent', {params: params})
|
|
|
// 公益视频我的收藏
|
|
|
// 公益视频我的收藏
|
|
|
export const getcollectVideo = (params) => http.get('business/users/getcollectVideo', {params: params}) |
|
|
|
|
|
|
|
|
// export const getcollectVideo = (params) => http.get('business/users/getcollectVideo', {params: params})
|
|
|
// 行业资讯,
|
|
|
// 行业资讯,
|
|
|
export const getarticleList = (params) => http.get('business/video/article', {params: params}) |
|
|
export const getarticleList = (params) => http.get('business/video/article', {params: params}) |
|
|
// 行业政策
|
|
|
// 行业政策
|
|
@ -101,19 +101,19 @@ export const getSignContract = (data) => http.post('business/contract/signContra |
|
|
// 查询学员合同签署状态
|
|
|
// 查询学员合同签署状态
|
|
|
export const getContractStatus = (params) => http.get('business/contract/getContractStatus', {params}) |
|
|
export const getContractStatus = (params) => http.get('business/contract/getContractStatus', {params}) |
|
|
// 1获得模拟预约点
|
|
|
// 1获得模拟预约点
|
|
|
export const simulationPoint = (params) => http.get('business/booking/simulation-point/page', {params}) |
|
|
|
|
|
|
|
|
// export const simulationPoint = (params) => http.get('business/booking/simulation-point/page', {params})
|
|
|
// 2获得模拟器排课
|
|
|
// 2获得模拟器排课
|
|
|
export const simulationClass = (params) => http.get('business/booking/simulation-class/get', {params}) |
|
|
|
|
|
|
|
|
// export const simulationClass = (params) => http.get('business/booking/simulation-class/get', {params})
|
|
|
// 3获得模拟器
|
|
|
// 3获得模拟器
|
|
|
export const simulationDevices = (params) => http.get('business/booking/simulation-devices/list', {params}) |
|
|
|
|
|
|
|
|
// export const simulationDevices = (params) => http.get('business/booking/simulation-devices/list', {params})
|
|
|
// 4创建模拟预约
|
|
|
// 4创建模拟预约
|
|
|
export const simulationCreate = (data) => http.post('business/booking/simulation-record/create', data) |
|
|
|
|
|
|
|
|
// export const simulationCreate = (data) => http.post('business/booking/simulation-record/create', data)
|
|
|
// 5获得模拟预约记录
|
|
|
// 5获得模拟预约记录
|
|
|
export const simulationPage = (params) => http.get('business/booking/simulation-record/page', {params}) |
|
|
|
|
|
|
|
|
// export const simulationPage = (params) => http.get('business/booking/simulation-record/page', {params})
|
|
|
// 6获得模拟详情
|
|
|
// 6获得模拟详情
|
|
|
export const simulationDetail = (params) => http.get('business/booking/simulation-record/get', {params}) |
|
|
|
|
|
|
|
|
// export const simulationDetail = (params) => http.get('business/booking/simulation-record/get', {params})
|
|
|
// 7取消模拟预约
|
|
|
// 7取消模拟预约
|
|
|
export const cancelSimulationDevice = (params) => http.put('business/booking/simulation-record/cancelSimulation?id='+ params.id,) |
|
|
|
|
|
|
|
|
// export const cancelSimulationDevice = (params) => http.put('business/booking/simulation-record/cancelSimulation?id='+ params.id,)
|
|
|
// 1获得考场
|
|
|
// 1获得考场
|
|
|
export const examSitePage = (params) => http.get('business/exam-site/list', {params}) |
|
|
export const examSitePage = (params) => http.get('business/exam-site/list', {params}) |
|
|
// 2获得车辆
|
|
|
// 2获得车辆
|
|
@ -197,11 +197,13 @@ export const getStudentSubject3Status = (data) => http.post('app/student-process |
|
|
// 获得科目四学习状态
|
|
|
// 获得科目四学习状态
|
|
|
export const getStudentSubject4Status = (data) => http.post('app/student-process/getStudentSubject4Status', data) |
|
|
export const getStudentSubject4Status = (data) => http.post('app/student-process/getStudentSubject4Status', data) |
|
|
// 实操签到
|
|
|
// 实操签到
|
|
|
export const operationSigin = (params={}) => http.get('business/coach/sign/in', {params}) |
|
|
|
|
|
|
|
|
export const operationSigin = (data) => http.post('business/coach/sign/in', data) |
|
|
// 学员签到信息校验接口
|
|
|
// 学员签到信息校验接口
|
|
|
export const vailStudentInfo = (params={}) => http.get('business/coach/sign/vailStudentInfo', {params}) |
|
|
|
|
|
// 签退
|
|
|
|
|
|
|
|
|
export const vailStudentInfo = (data) => http.post('business/coach/sign/vailStudentInfo', data) |
|
|
|
|
|
// 签退校验
|
|
|
export const signOutAuth = (data) => http.post('business/student/sign/outAuth', data) |
|
|
export const signOutAuth = (data) => http.post('business/student/sign/outAuth', data) |
|
|
|
|
|
// 签退
|
|
|
|
|
|
export const signOut = (data) => http.post('business/student/sign/out', data) |
|
|
// 支付
|
|
|
// 支付
|
|
|
export const getStudentByPayment = (params={}) => http.get('app/student-record/getStudentByPayment', {params}) |
|
|
export const getStudentByPayment = (params={}) => http.get('app/student-record/getStudentByPayment', {params}) |
|
|
|
|
|
|
|
@ -260,3 +262,4 @@ export const getStudentByPayment = (params={}) => http.get('app/student-record/g |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|