| | |
| | | } |
| | | return R.ok(franchiseeWithdraw); |
| | | } |
| | | @ApiOperation(value = "管理后台-加盟商提现详情", tags = {"提现"}) |
| | | @ApiOperation(value = "管理后台-审核", tags = {"提现"}) |
| | | @PostMapping(value = "/auditFranchiseeWithdraw") |
| | | public R auditFranchiseeWithdraw(@RequestBody AuditFranchiseeWithdrawDTO auditFranchiseeWithdrawDTO) { |
| | | LoginUser loginWorker = tokenService.getLoginUser(); |
| | |
| | | franchiseeWithdraw.setStatus(auditFranchiseeWithdrawDTO.getStatus()); |
| | | franchiseeWithdraw.setResult(auditFranchiseeWithdrawDTO.getResult()); |
| | | franchiseeWithdraw.setImg(auditFranchiseeWithdrawDTO.getImg()); |
| | | franchiseeWithdraw.setUpdateTime(new Date()); |
| | | franchiseeWithdraw.setUpdateBy(loginWorker.getUsername()); |
| | | franchiseeWithdrawService.updateById(franchiseeWithdraw); |
| | | return R.ok(); |
| | | } |