|
@@ -8,6 +8,7 @@ import com.zhongzheng.framework.web.service.WxTokenService;
|
|
import com.zhongzheng.modules.course.bo.CourseMenuQueryBo;
|
|
import com.zhongzheng.modules.course.bo.CourseMenuQueryBo;
|
|
import com.zhongzheng.modules.course.vo.CourseUserMenuVo;
|
|
import com.zhongzheng.modules.course.vo.CourseUserMenuVo;
|
|
import com.zhongzheng.modules.grade.domain.UserPeriodStatus;
|
|
import com.zhongzheng.modules.grade.domain.UserPeriodStatus;
|
|
|
|
+import com.zhongzheng.modules.grade.vo.ClassPeriodVo;
|
|
import com.zhongzheng.modules.user.bo.UserStudyRecordAddBo;
|
|
import com.zhongzheng.modules.user.bo.UserStudyRecordAddBo;
|
|
import com.zhongzheng.modules.user.bo.UserStudyRecordEditBo;
|
|
import com.zhongzheng.modules.user.bo.UserStudyRecordEditBo;
|
|
import com.zhongzheng.modules.user.bo.UserStudyRecordQueryBo;
|
|
import com.zhongzheng.modules.user.bo.UserStudyRecordQueryBo;
|
|
@@ -117,8 +118,10 @@ public class UserStudyRecordController extends BaseController {
|
|
*/
|
|
*/
|
|
@ApiOperation("查询课程所有子目录结构列表")
|
|
@ApiOperation("查询课程所有子目录结构列表")
|
|
@GetMapping("/menuAllList")
|
|
@GetMapping("/menuAllList")
|
|
- public AjaxResult<Integer> menuAllList(UserStudyRecordQueryBo bo) {
|
|
|
|
- return AjaxResult.success(iUserStudyRecordService.menuAllList(bo) ? 1 : 0);
|
|
|
|
|
|
+ public AjaxResult<List<ClassPeriodVo>> menuAllList(UserStudyRecordQueryBo bo) {
|
|
|
|
+ ClientLoginUser loginUser = wxTokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
|
+ bo.setUserId(loginUser.getUser().getUserId());
|
|
|
|
+ return AjaxResult.success(iUserStudyRecordService.menuAllList(bo));
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|