bug
This commit is contained in:
@@ -68,4 +68,15 @@ public class CourseController {
|
||||
return R.ok().put("playAuth",playAuth).put("id",map.get("id"));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取课程详情
|
||||
* @param param
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("/getCourseDetail")
|
||||
public R getCourseDetail(@RequestBody ParamTo param){
|
||||
Map<String, Object> courseDetail = courseService.getCourseDetail(param.getId());
|
||||
return R.ok().put("data",courseDetail);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user