|
@@ -255,15 +255,14 @@ public class OrderPayOpsServiceImpl implements OrderPayOpsService {
|
|
|
|
|
|
private Map<String, Object> getExpend(HfMerchantConfig hfMerchantConfig, PaymentParam payParam) throws Exception {
|
|
|
Map<String, Object> expendParams = new HashMap<>(5);
|
|
|
- String openId = "";
|
|
|
if (payParam.getPayChannel().equals("wx_pub")) {
|
|
|
//微信支付则获取openId
|
|
|
- openId = getOpenId(hfMerchantConfig, payParam.getCode());
|
|
|
+ String openId = getOpenId(hfMerchantConfig, payParam.getCode());
|
|
|
+ expendParams.put("open_id", openId);
|
|
|
+ expendParams.put("is_raw", "1");
|
|
|
}
|
|
|
- expendParams.put("open_id", openId);
|
|
|
- expendParams.put("is_raw", "1");
|
|
|
//expendParams.put("callback_url", payParam.getReturnUrl());
|
|
|
- expendParams.put("limit_pay", "1");
|
|
|
+ //expendParams.put("limit_pay", "1"); //值为1时禁用信用卡
|
|
|
return expendParams;
|
|
|
}
|
|
|
|