puzhibing
2023-09-09 9ef2e272c6ef99d152c5d6afc95af70a3822c57d
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){