| | |
| | | |
| | | |
| | | |
| | | @ApiOperation(value = "任务中心头部", notes = "H5") |
| | | @ApiOperation(value = "任务中心头部 - H5", notes = "H5") |
| | | @GetMapping("/taskCenterHead") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", dataType = "Integer", name = "isDetail", value = " 是否查询详细 1是;0否", required = true), |
| | | }) |
| | | public ApiResponse<InternalHomeVO> taskCenterHead(@RequestParam Integer isDetail,@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | return ApiResponse.success("查询成功",approveService.getHomeData(getLoginUser(token).getMemberId(),isDetail)); |
| | | return ApiResponse.success("查询成功",approveService.getHomeDataH5(getLoginUser(token).getMemberId(),isDetail)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "任务中心头部 - PC", notes = "PC") |
| | | @PostMapping("/taskCenterHeadPC") |
| | | public ApiResponse<InternalHomeVO> taskCenterHeadPC(@RequestBody NoticesDTO noticesDTO,@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | noticesDTO.setMemberId(getLoginUser(token).getMemberId()); |
| | | return ApiResponse.success("查询成功",approveService.getHomeDataPC(noticesDTO)); |
| | | } |
| | | |
| | | @ApiOperation("任务中心分页") |
| | | @PostMapping("/taskPage") |
| | | public ApiResponse<PageData<Notices>> taskPage (@RequestBody PageWrap<NoticesDTO> pageWrap, @RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |