|
@@ -75,4 +75,11 @@ public class CourseReviewController extends BaseController {
|
|
|
return succeed(courseReviewService.getReviewInfo(id));
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "获取老师评价和学生评价")
|
|
|
+ @GetMapping("getStuAndTeaReview")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('courseReview/getStuAndTeaReview')")
|
|
|
+ public HttpResponseResult getStuAndTeaReview(Long courseId) {
|
|
|
+ return succeed(courseReviewService.getStuAndTeaReview(courseId));
|
|
|
+ }
|
|
|
+
|
|
|
}
|