|
|
|
@@ -220,7 +220,7 @@ public class WxProfitSharingOrderServiceImpl implements WxProfitSharingOrderServ |
|
|
|
try { |
|
|
|
wxProfitSharingP.setSign(WxPayment.createSignHMAC(BeanUtils.toStringMap(wxProfitSharingP), payAccount.getApiKey())); |
|
|
|
logger.info("wxProfitSharingP :" + wxProfitSharingP.toString()); |
|
|
|
response = WxProfitSharing.pushOrder(BeanUtils.toStringMap(wxProfitSharingP), "D:/cert/apiclient_cert.p12", payAccount.getMchId()); |
|
|
|
response = WxProfitSharing.pushOrder(BeanUtils.toStringMap(wxProfitSharingP), payAccount.getCertPath(), payAccount.getMchId()); |
|
|
|
}catch (Exception e) { |
|
|
|
record.setSharingStatus(EnumProfitSharingStatus.PROFIT_SHARING_REQ_FAILED.getCode()); |
|
|
|
record.setErrorMsg(ErrorCode.PROFIT_SHARING_REQUEST_FAILED.getMessage()); |
|
|
|
|