转账到零钱参数完善

This commit is contained in:
张松 2025-10-29 16:50:57 +08:00
parent abb579dfde
commit 0c3d5a0fcc
1 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ public abstract class BaseWx {
String remark = remarkTxt == null ? "佣金" : remarkTxt;
String billNo = billNoTxt == null ? IdUtil.simpleUUID() : billNoTxt;
Map<String, Object> params = Map.of(
Map<String, Object> params = new java.util.HashMap<>(Map.of(
"appid", config.appId,
"out_bill_no", billNo,
"transfer_scene_id", "1005",
@ -375,7 +375,7 @@ public abstract class BaseWx {
Map.of("info_type", "岗位类型", "info_content", "加盟商"),
Map.of("info_type", "报酬说明", "info_content", "测试")
}
);
));
if (amount.compareTo(BigDecimal.valueOf(0.3)) >= 0) {
params.put("user_name", rsaEncryptOAEP(name));
}