| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true), |
| | | }) |
| | | public ApiResponse getShopList(@RequestBody ShopListDTO dto){ |
| | | public ApiResponse<List<Shop>> getShopList(@RequestBody ShopListDTO dto){ |
| | | return ApiResponse.success(shopService.getShopList(dto)); |
| | | } |
| | | |
| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true), |
| | | }) |
| | | public ApiResponse withdrawApply(@RequestBody WithdrawApplyRequest request){ |
| | | public ApiResponse<Integer> withdrawApply(@RequestBody WithdrawApplyRequest request){ |
| | | request.setMemberId(getShopId()); |
| | | withdrawRecordService.withdrawApply(request,integralService); |
| | | return ApiResponse.success("操作成功"); |
| | | return ApiResponse.success("操作成功",withdrawRecordService.withdrawApply(request,integralService)); |
| | | } |
| | | |
| | | |
| | | |
| | | @LoginShopRequired |