|
|
@@ -127,7 +127,12 @@ public class ReturnPayFeeMoneyAdapt extends DatabusAdaptImpl {
|
|
|
payPassword = smallWeChatDtos.get(0).getPayPassword();
|
|
|
certData = smallWeChatDtos.get(0).getCertPath();
|
|
|
mchPassword = smallWeChatDtos.get(0).getMchId();
|
|
|
+ if(StringUtil.isEmpty(certData)){
|
|
|
+ certData = MappingCache.getRemark(MappingConstant.WECHAT_STORE_DOMAIN, "cert");
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
SortedMap<String, String> parameters = new TreeMap<String, String>();
|
|
|
String paySwitch = MappingCache.getValue(DOMAIN_WECHAT_PAY, WECHAT_SERVICE_PAY_SWITCH);
|
|
|
parameters.put("appid", onlinePayDtos.get(0).getAppId());//appid
|