| | |
| | | } |
| | | |
| | | @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)); |
| | | } |