| | |
| | | import com.doumee.dao.business.model.Visits; |
| | | import com.doumee.dao.web.reqeust.*; |
| | | import com.doumee.dao.web.response.DriverHomeVO; |
| | | import com.doumee.dao.web.response.LineUpVO; |
| | | import com.doumee.dao.web.response.MemberVO; |
| | | import com.doumee.dao.web.response.VisitRecordVO; |
| | | import com.doumee.service.business.*; |
| | |
| | | } |
| | | |
| | | @ApiOperation("物流车预约") |
| | | @PostMapping("/checkSurplusNum") |
| | | public ApiResponse<Integer> checkSurplusNum (@RequestBody PlatformBooksApplyDTO platformBooksApplyDTO , @RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | @PostMapping("/apply") |
| | | public ApiResponse<Integer> apply (@RequestBody PlatformBooksApplyDTO platformBooksApplyDTO , @RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | platformBooksApplyDTO.setUserId(getLoginUser(token).getMemberId()); |
| | | return ApiResponse.success(platformBooksService.apply(platformBooksApplyDTO)); |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | /******************************************************任务接口************************************************************************/ |
| | | /******************************************************司机任务接口************************************************************************/ |
| | | |
| | | @ApiOperation("任务签到") |
| | | @PostMapping("/signIn") |
| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation("查询排队情况") |
| | | @PostMapping("/jobDetail") |
| | | public ApiResponse<LineUpVO> lineUpDetail (@RequestBody LineUpDetailDTO lineUpDetailDTO, @RequestHeader(Constants.HEADER_USER_TOKEN) String token){ |
| | | return ApiResponse.success(platformJobService.lineUpDetail(lineUpDetailDTO)); |
| | | } |
| | | |
| | | |
| | | |