| | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @author wzy |
| | | * @author |
| | | * @date 2022-03-22 |
| | | **/ |
| | | @Slf4j |
| | |
| | | dappFundFlowEntity.setCurrentUser(currentUser.getUserId()); |
| | | } |
| | | return new FebsResponse().success().data(getDataTable(dappWalletService.fundFlowInPage(dappFundFlowEntity, request))); |
| | | } |
| | | |
| | | @PostMapping(value = "/withdrawAgree/{id}") |
| | | public FebsResponse withdrawAgree(@PathVariable("id") Long id) { |
| | | dappWalletService.withdrawAgreeOrNot(id, 1); |
| | | return new FebsResponse().success(); |
| | | } |
| | | |
| | | @PostMapping(value = "/withdrawDisAgree/{id}") |
| | | public FebsResponse withdrawDisAgree(@PathVariable("id") Long id) { |
| | | dappWalletService.withdrawAgreeOrNot(id, 2); |
| | | return new FebsResponse().success(); |
| | | } |
| | | |
| | | @RequestMapping(value = "accountMoneyChangeFlow") |