mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
提现手续费改为参数传入
This commit is contained in:
@@ -14,6 +14,9 @@ public class WithdrawDTO {
|
||||
// 提现金额
|
||||
private String cashAmt;
|
||||
|
||||
// 手续费
|
||||
private String feeAmt;
|
||||
|
||||
// 微信小程序appId
|
||||
private String wechatAppId;
|
||||
}
|
||||
|
||||
@@ -811,8 +811,9 @@ public class AdapayService {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_ADAPAY_MEMBER_IS_NULL_ERROR);
|
||||
}
|
||||
|
||||
// 提现手续费 每笔固定5元
|
||||
BigDecimal feeAmt = new BigDecimal("5");
|
||||
// 提现手续费 每笔固定5元 2025年2月13日11点47分手续费改为参数传入
|
||||
// BigDecimal feeAmt = new BigDecimal("5");
|
||||
BigDecimal feeAmt = new BigDecimal(dto.getFeeAmt());
|
||||
|
||||
// 实际提现到账金额
|
||||
BigDecimal cashAmt = adapayAccountBalanceVO.getAvlBalance().subtract(feeAmt);
|
||||
|
||||
Reference in New Issue
Block a user