Browse Source

fix:首页错误

liujunchi 3 years ago
parent
commit
778d0e1313

+ 2 - 2
cooleshow-user/user-student/src/main/java/com/yonge/cooleshow/student/controller/StudentCourseScheduleController.java

@@ -133,8 +133,8 @@ public class StudentCourseScheduleController extends BaseController {
     }
 
     @ApiOperation("学生-首页-直播课&视频课&最近课程")
-    @PostMapping("/queryLiveAndVideo")
-    public HttpResponseResult<StudentHomePage> queryLiveAndVideo(@RequestBody AppAuditVersionSearch search) {
+    @GetMapping("/queryLiveAndVideo")
+    public HttpResponseResult<StudentHomePage> queryLiveAndVideo(AppAuditVersionSearch search) {
         SysUser user = sysUserFeignService.queryUserInfo();
         if (user == null || null == user.getId()) {
             return failed(HttpStatus.FORBIDDEN, "请登录");