自定义参数设置方式

This commit is contained in:
egzosn
2020-03-10 22:04:12 +08:00
parent 563e4d1080
commit f77c1edd96
12 changed files with 132 additions and 49 deletions

View File

@@ -284,7 +284,7 @@ public class UnionPayService extends BasePayService<UnionPayConfigStorage> {
params.put(SDKConstants.param_payTimeout, getPayTimeout(order.getExpirationTime()));
params.put("orderDesc", order.getSubject());
}
params.putAll(order.getAttr());
params.putAll(order.getAttrs());
params = preOrderHandler(params, order);
return setSign(params);
}