Commit 19251232 authored by liuyang's avatar liuyang

查看课程详情时不做验证

parent f03275e1
......@@ -87,7 +87,7 @@ public class MainPageController {
@GetMapping("/course/{id}")
@SysLog("获取课程详情")
public Result<CourseDetailModel> getCourseDetail(@PathVariable Long id){
courseService.checkPerm(id);
// courseService.checkPerm(id);
CourseDetailModel model = courseService.getCourseDetail(id);
return Result.succeed(model);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment