|
|
|
@@ -947,9 +947,9 @@ public class WxMerchantServiceImpl implements WxMerchantService { |
|
|
|
} |
|
|
|
StringBuffer psb = new StringBuffer("{\"").append(Constant.paymentReceiverParamIsv).append("\":").append(wxMerchant.getIsIsv()).append(""); |
|
|
|
if (EnumYesOrNo.YES.getCode() == wxMerchant.getIsIsv()) { |
|
|
|
psb.append(",\"").append(Constant.paymentReceicerParamApiKey).append("\":\"").append(wxMerchant.getApiKey()).append("\"}"); |
|
|
|
psb.append("}"); |
|
|
|
}else { |
|
|
|
psb.append("}"); |
|
|
|
psb.append(",\"").append(Constant.paymentReceicerParamApiKey).append("\":\"").append(wxMerchant.getApiKey()).append("\"}"); |
|
|
|
} |
|
|
|
receiver.setReceiverAccount(wxMerchant.getAccount()); |
|
|
|
receiver.setReceiverParams(psb.toString()); |
|
|
|
|