This commit is contained in:
Yjhon 2022-03-16 12:05:21 +08:00
parent ec5b218c2b
commit 8dd32dd218
1 changed files with 24 additions and 24 deletions

View File

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