This commit is contained in:
wangjinlei
2024-05-24 17:50:10 +08:00
parent ccd8e25f95
commit 34521517c9
3 changed files with 43 additions and 0 deletions

View File

@@ -109,6 +109,16 @@ public class CourseController {
return R.ok().put("data",chapterDetail);
}
/**
* 开通免费课程
* @param map
* @return
*/
@RequestMapping("/startStudyForMF")
public R startStudyForMF(@RequestBody Map<String,Integer> map){
return courseService.startStudyForMF(map.get("catalogueId"));
}
/**
* 获取课程详情
* @param param