转账到零钱参数完善

This commit is contained in:
张松
2025-10-29 17:21:15 +08:00
parent 2a23d080d0
commit 8efad50d8d
2 changed files with 2 additions and 1 deletions

View File

@@ -364,7 +364,7 @@ public abstract class BaseWx {
Map<String, Object> params = new java.util.HashMap<>(Map.of(
"appid", config.appId,
"out_bill_no", billNo,
"transfer_scene_id", "1005",
"transfer_scene_id", "1000",
"openid", openId,
"transfer_amount", amount.multiply(BigDecimal.valueOf(100)).intValue(),
"transfer_remark", remark,

View File

@@ -687,6 +687,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
}
@Override
@Transactional(rollbackFor = Exception.class)
public void withdrawNotify(String outBillNo, String state) {
MkDistributionWithdrawFlow flow = withdrawFlowService.getOne(new QueryWrapper().eq(MkDistributionWithdrawFlow::getBillNo, outBillNo));
AssertUtil.isNull(flow, "提现记录不存在");