| | |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | /** |
| | | * 提现转账列表-同意 |
| | | */ |
| | | @GetMapping("withdrawAgree/{id}") |
| | | @PostMapping("withdrawAgree/{id}") |
| | | @ControllerEndpoint(operation = "提现转账列表-同意", exceptionMessage = "操作失败") |
| | | public FebsResponse agreeWithdraw(@NotNull(message = "{required}") @PathVariable Long id) { |
| | | return dappWalletService.agreeWithdraw(id); |
| | |
| | | /** |
| | | * 提现转账列表-拒绝 |
| | | */ |
| | | @GetMapping("withdrawDisAgree/{id}") |
| | | @PostMapping("withdrawDisAgree/{id}") |
| | | @ControllerEndpoint(operation = "提现转账列表-拒绝", exceptionMessage = "操作失败") |
| | | public FebsResponse disagreeWithdraw(@NotNull(message = "{required}") @PathVariable Long id) { |
| | | return dappWalletService.disagreeWithdraw(id); |