This commit is contained in:
parent
ec5b218c2b
commit
8dd32dd218
|
@ -19,18 +19,18 @@ const mycourseApi = {
|
||||||
operationList: 'classwork/list', // 作业列表
|
operationList: 'classwork/list', // 作业列表
|
||||||
reqOperationDetail: 'classwork/get', // 作业详情
|
reqOperationDetail: 'classwork/get', // 作业详情
|
||||||
reqOperationSubmit: 'classwork/submit', // 作业提交
|
reqOperationSubmit: 'classwork/submit', // 作业提交
|
||||||
getMyCourseList: 'studyStatistics/getMyTrainPlanList' // 课程学习统计
|
getMyCourseList: 'studyStatistics/getMyCourseList' // 课程学习统计
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqChangePassword (data) {
|
export function reqChangePassword(data) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.changePassword,
|
url: mycourseApi.changePassword,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: data
|
params: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqCenterJoin (data) {
|
export function reqCenterJoin(data) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.centerJoin,
|
url: mycourseApi.centerJoin,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
@ -38,7 +38,7 @@ export function reqCenterJoin (data) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqMycourseCount (params) {
|
export function reqMycourseCount(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.getMyCourseList,
|
url: mycourseApi.getMyCourseList,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -46,7 +46,7 @@ export function reqMycourseCount (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqOperationDetail (params) {
|
export function reqOperationDetail(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.reqOperationDetail,
|
url: mycourseApi.reqOperationDetail,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -54,7 +54,7 @@ export function reqOperationDetail (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqOperationSubmit (params) {
|
export function reqOperationSubmit(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.reqOperationSubmit,
|
url: mycourseApi.reqOperationSubmit,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
@ -62,7 +62,7 @@ export function reqOperationSubmit (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqOperationList (params) {
|
export function reqOperationList(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.operationList,
|
url: mycourseApi.operationList,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -70,7 +70,7 @@ export function reqOperationList (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqSimulateTestDetail (params) {
|
export function reqSimulateTestDetail(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.simulateTestDetail,
|
url: mycourseApi.simulateTestDetail,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
@ -78,7 +78,7 @@ export function reqSimulateTestDetail (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqSimulateTestList (data) {
|
export function reqSimulateTestList(data) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.simulateTestList,
|
url: mycourseApi.simulateTestList,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
@ -87,7 +87,7 @@ export function reqSimulateTestList (data) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqMyCourseList (params) {
|
export function reqMyCourseList(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.mycourseList,
|
url: mycourseApi.mycourseList,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -95,7 +95,7 @@ export function reqMyCourseList (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqMyTrainPlanList (params) {
|
export function reqMyTrainPlanList(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.trainPlanList,
|
url: mycourseApi.trainPlanList,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -103,7 +103,7 @@ export function reqMyTrainPlanList (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqAddMyCourse (params) {
|
export function reqAddMyCourse(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.addMyCourse,
|
url: mycourseApi.addMyCourse,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -111,7 +111,7 @@ export function reqAddMyCourse (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqCourseCenterList (params) {
|
export function reqCourseCenterList(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.centerList,
|
url: mycourseApi.centerList,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -119,7 +119,7 @@ export function reqCourseCenterList (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqCourseCenterDetail (params) {
|
export function reqCourseCenterDetail(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.centerDetail,
|
url: mycourseApi.centerDetail,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -127,7 +127,7 @@ export function reqCourseCenterDetail (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqRecommendList (params) {
|
export function reqRecommendList(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.recommendList,
|
url: mycourseApi.recommendList,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -135,7 +135,7 @@ export function reqRecommendList (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function recommendDetail (params) {
|
export function recommendDetail(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.recommendDetail,
|
url: mycourseApi.recommendDetail,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -143,7 +143,7 @@ export function recommendDetail (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqCourseDetail (params) {
|
export function reqCourseDetail(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.getCourseDetail,
|
url: mycourseApi.getCourseDetail,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -151,7 +151,7 @@ export function reqCourseDetail (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqCourseCatalogue (params) {
|
export function reqCourseCatalogue(params) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.getCourseCatalogue,
|
url: mycourseApi.getCourseCatalogue,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
@ -159,11 +159,11 @@ export function reqCourseCatalogue (params) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqCourseExam (params, data) {
|
export function reqCourseExam(params, data) {
|
||||||
return request({
|
return request({
|
||||||
url: mycourseApi.reqCourseExam,
|
url: mycourseApi.reqCourseExam,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: params,
|
params: params,
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
Loading…
Reference in New Issue