소스 검색

no message

FengChaoYu 9 달 전
부모
커밋
5a17ccbf99
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      mall-server-api/src/main/java/com/gree/mall/manager/logic/admin/AdminCompanyPayConfigLogic.java

+ 4 - 0
mall-server-api/src/main/java/com/gree/mall/manager/logic/admin/AdminCompanyPayConfigLogic.java

@@ -68,6 +68,10 @@ public class AdminCompanyPayConfigLogic {
             throw new RemoteServiceException("子商户mchid不能为空");
         }
 
+        if (StringUtils.isBlank(bean.getSubAppId())) {
+            throw new RemoteServiceException("子商户appid不能为空");
+        }
+
         if (StringUtils.isBlank(bean.getMchKey())) {
             throw new RemoteServiceException("key不能为空");
         }