会员现金充值退款

This commit is contained in:
张松
2025-11-20 17:36:15 +08:00
parent decbac259e
commit 629685bffd
2 changed files with 3 additions and 1 deletions

View File

@@ -24,6 +24,8 @@ public enum ShopUserFlowBizEnum {
ORDER_REFUND("orderRefund", "订单退款"),
// 充值退款
RECHARGE_REFUND("rechargeRefund", "充值退款"),
// 充值现金退款
RECHARGE_CASH_REFUND("rechargeCashRefund", "会员现金退款"),
// 管理员手动增减余额
ADMIN_IN("adminIn", "管理员手动增减余额"),
//管理员退款充值

View File

@@ -640,7 +640,7 @@ public class PayServiceImpl implements PayService {
.setMoney(refPayParam.getRefAmount())
.setType(0)
.setRemark("退款")
.setBizEnum(ShopUserFlowBizEnum.RECHARGE_REFUND)
.setBizEnum(refPayParam.isCashRefund() ? ShopUserFlowBizEnum.RECHARGE_CASH_REFUND : ShopUserFlowBizEnum.RECHARGE_REFUND )
.setRelationId(refPaymentId)
.setRechargeId(inFlow.getId());
//更新会员余额 并生成流水