|
@@ -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, "请登录");
|