1
zj
2024-08-19 9e020a4b14b2dcf2fddae99305cb6cccf42b6916
src/main/java/com/nq/controller/protol/UserWithdrawController.java
@@ -37,16 +37,16 @@
    //用户提现
    @RequestMapping({"outMoney.do"})
    @ResponseBody
    public ServerResponse outMoney(@RequestParam(value = "amt") String amt,
                                   @RequestParam(value = "  ") String accsetType,
    public ServerResponse outMoney(@RequestParam(value = "amt") String amt,@RequestParam(value = "bankId") String bankId,
                                   @RequestParam(value = "assetsType") String accsetType,
                                   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,bankId,request);
        } catch (Exception e) {
            log.error("出金异常 e = {}", e);
            serverResponse = ServerResponse.createByErrorMsg("Withdrawal exception, please try again later");
            serverResponse = ServerResponse.createByErrorMsg("提现异常,请稍后再试",request);
        }
        return serverResponse;
    }