Przeglądaj źródła

[微信分账][修改]:分账打印信息

release_toaliyun_real
Stormeye Wu 7 lat temu
rodzic
commit
45e8514881
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingOrderServiceImpl.java

+ 2
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingOrderServiceImpl.java Wyświetl plik

@@ -227,6 +227,7 @@ public class WxProfitSharingOrderServiceImpl implements WxProfitSharingOrderServ
String response;
try {
psCmd.setSign(WxPayment.createSignHMAC(BeanUtils.toStringMap(psCmd), payAccount.getApiKey()));
logger.info("request:" + psCmd.toString());
if(sharingOrderDto.getType().equals(EnumProfitSharingOrderType.PROFIT_SHARING_SINGLE.getCode())) {
response = WxProfitSharing.pushOrder(BeanUtils.toStringMap(psCmd), payAccount.getCertPath(), payAccount.getMchId());
} else if(sharingOrderDto.getType().equals(EnumProfitSharingOrderType.PROFIT_SHARING_MULTI.getCode())) {
@@ -456,6 +457,7 @@ public class WxProfitSharingOrderServiceImpl implements WxProfitSharingOrderServ
String response;
try {
psFCmd.setSign(WxPayment.createSignHMAC(BeanUtils.toStringMap(psFCmd), payAccount.getApiKey()));
logger.info("request:" + psFCmd.toString());
response = WxProfitSharing.finishOrder(BeanUtils.toStringMap(psFCmd), payAccount.getCertPath(), payAccount.getMchId());
} catch (Exception e) {
record.setSharingStatus(EnumProfitSharingOrderStatus.PROFIT_SHARING_REQ_FAILED.getCode());


Ładowanie…
Anuluj
Zapisz