1
zj
2024-09-10 1c6748cbef6bf2348106b27fb47a74efff8a8b2e
src/main/java/com/nq/controller/protol/UserWithdrawController.java
@@ -39,11 +39,13 @@
    @ResponseBody
    public ServerResponse outMoney(@RequestParam(value = "amt") String amt,
                                   @RequestParam(value = "assetsType") String accsetType,
                                   @RequestParam(value = "type") Integer type,
                                   @RequestParam(value = "walletAddress", required = false) String walletAddress,
                                   HttpServletRequest request) {
        ServerResponse serverResponse = null;
        User user = this.iUserService.getCurrentRefreshUser(request);
        try {
            serverResponse = this.iUserWithdrawService.outMoney(amt, user.getWithPwd(), accsetType,request);
            serverResponse = this.iUserWithdrawService.outMoney(amt, user.getWithPwd(), accsetType, walletAddress,type,request);
        } catch (Exception e) {
            log.error("出金异常 e = {}", e);
            serverResponse = ServerResponse.createByErrorMsg("提现异常,请稍后再试",request);