From 8692f6f0807a1e70f3a1988834b0e5d6a8080753 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 20 七月 2023 15:29:51 +0800
Subject: [PATCH] 更新代码

---
 DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/WithdrawalServiceImpl.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/WithdrawalServiceImpl.java b/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/WithdrawalServiceImpl.java
index 3cb4c39..1b9c440 100644
--- a/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/WithdrawalServiceImpl.java
+++ b/DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/WithdrawalServiceImpl.java
@@ -55,7 +55,7 @@
      * @throws Exception
      */
     @Override
-    public ResultUtil withdrawal(Double money, Integer uid, Integer type, Integer language) throws Exception {
+    public ResultUtil withdrawal(Double money, Integer uid, Integer type, String remark, Integer language) throws Exception {
         if(money.compareTo(0D) <= 0){
             return ResultUtil.error(language == 1 ? "提现金额必须大于0" : language == 2 ? "The withdrawal amount must be greater than 0" : "Le montant du retrait doit être supérieur à 0");
         }
@@ -116,6 +116,7 @@
         withdrawal.setUserId(uid);
         withdrawal.setUserType(2);
         withdrawal.setType(type);
+        withdrawal.setRemark(remark);
         this.insert(withdrawal);
 
         if(type == 1){

--
Gitblit v1.7.1