| | |
| | | @ApiOperation("门店入驻申请/修改") |
| | | @PostMapping("/apply") |
| | | public ApiResponse apply(@RequestBody @Validated ShopApplyDTO request) { |
| | | Member member = this.getMemberResponse(); |
| | | shopInfoService.applyShop(request, member); |
| | | request.setMemberId(getMemberId()); |
| | | shopInfoService.applyShop(request); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | |
| | | return ApiResponse.success(shopInfoService.getShopMaintainInfo(this.getMemberId())); |
| | | } |
| | | |
| | | @LoginShopRequired |
| | | @LoginRequired |
| | | @ApiOperation("门店支付押金") |
| | | @PostMapping("/payDeposit") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "门店token值", required = true) |
| | | }) |
| | | public ApiResponse<PayResponse> payDeposit() { |
| | | return ApiResponse.success("操作成功", ordersService.payShopDeposit(getShopId())); |
| | | return ApiResponse.success("操作成功", ordersService.payShopDeposit(getMemberId())); |
| | | } |
| | | |
| | | } |