소스 검색

fix car pay

release_toaliyun_real
lin 3 년 전
부모
커밋
393ef7388b
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxMerchantServiceImpl.java

+ 5
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxMerchantServiceImpl.java 파일 보기

@@ -946,7 +946,11 @@ public class WxMerchantServiceImpl implements WxMerchantService {
receiver.setPlat(EnumAppPlat.WX.getCode());
}
StringBuffer psb = new StringBuffer("{\"").append(Constant.paymentReceiverParamIsv).append("\":").append(wxMerchant.getIsIsv()).append("");
psb.append(",\"").append(Constant.paymentReceicerParamApiKey).append("\":\"").append(wxMerchant.getApiKey()).append("\"}");
if (EnumYesOrNo.YES.getCode().intValue()== wxMerchant.getIsIsv().intValue()) {
psb.append("}");
}else {
psb.append(",\"").append(Constant.paymentReceicerParamApiKey).append("\":\"").append(wxMerchant.getApiKey()).append("\"}");
}
receiver.setReceiverAccount(wxMerchant.getAccount());
receiver.setReceiverParams(psb.toString());
wxProfitPaymentReceiverService.saveOrUpdate(receiver);


불러오는 중...
취소
저장