소스 검색

Merge remote-tracking branch 'origin/develop' into develop

FengChaoYu 7 달 전
부모
커밋
d66edb713b
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      mall-server-api/src/main/java/com/gree/mall/manager/logic/common/WechatLogic.java

+ 3 - 0
mall-server-api/src/main/java/com/gree/mall/manager/logic/common/WechatLogic.java

@@ -1216,6 +1216,9 @@ public class WechatLogic {
 
         WxPayService payService = this.getPayWebstiService(configId,source);
 
+        if (payService == null)
+            throw new RemoteServiceException("未查到支付配置");
+
         WxPayMicropayRequest request = new WxPayMicropayRequest();
         //request.setDeviceInfo(worker.getWorkerId());
         request.setBody("售修宝费用");