From 4130970dd61791e0a5cb0771a9b707084f1ed464 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Thu, 08 May 2025 00:39:05 +0800
Subject: [PATCH] 1
---
src/main/java/com/nq/controller/protol/UserWithdrawController.java | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/nq/controller/protol/UserWithdrawController.java b/src/main/java/com/nq/controller/protol/UserWithdrawController.java
index d979ebc..716bdc2 100644
--- a/src/main/java/com/nq/controller/protol/UserWithdrawController.java
+++ b/src/main/java/com/nq/controller/protol/UserWithdrawController.java
@@ -34,17 +34,22 @@
return this.iUserWithdrawService.findUserWithList(withStatus, request, pageNum, pageSize);
}
+
//用户提现
@RequestMapping({"outMoney.do"})
@ResponseBody
- public ServerResponse outMoney(String amt, HttpServletRequest request) {
+ public ServerResponse outMoney(@RequestParam(value = "amt") String amt,
+ @RequestParam(value = "bankName") String bankName,
+ @RequestParam(value = "bankNo") String bankNo,
+ @RequestParam(value = "assetsType") String accsetType,
+ HttpServletRequest request) {
ServerResponse serverResponse = null;
User user = this.iUserService.getCurrentRefreshUser(request);
try {
- serverResponse = this.iUserWithdrawService.outMoney(amt, user.getWithPwd(), request);
+ serverResponse = this.iUserWithdrawService.outMoney(amt, user.getWithPwd(), accsetType,bankName,bankNo,request);
} catch (Exception e) {
log.error("出金异常 e = {}", e);
- serverResponse = ServerResponse.createByErrorMsg("Withdrawal exception, please try again later");
+ serverResponse = ServerResponse.createByErrorMsg("提现异常,请稍后再试",request);
}
return serverResponse;
}
--
Gitblit v1.9.3