自动报名

This commit is contained in:
daihh
2022-10-30 17:45:01 +08:00
parent 6470e488b5
commit 40d29343be
4 changed files with 73 additions and 79 deletions

View File

@@ -66,6 +66,9 @@ const countSignup = function(courseId) {
return ajax.post('/xboe/school/study/signup/count-by-course',{courseId});
}
const studyIndex = function(courseId) {
return ajax.get('/xboe/school/study/course/studyIndex?cid='+courseId+'&addView=true');
}
/**
* 课程学习根据课程id来获取,
@@ -374,6 +377,7 @@ export default {
deleteSignup,
importSignup,
countSignup,
studyIndex,
studyInfo,
studyVideoTime,
lastStudy,