|
@@ -76,6 +76,14 @@ public class AdminCompanyPayConfigLogic {
|
|
|
throw new RemoteServiceException("请选择状态");
|
|
|
}
|
|
|
|
|
|
+ if (StringUtils.isNotBlank(bean.getAppletAppid())) {
|
|
|
+ throw new RemoteServiceException("小程序appid为空");
|
|
|
+ }
|
|
|
+
|
|
|
+ if (StringUtils.isNotBlank(bean.getAppletSecret())) {
|
|
|
+ throw new RemoteServiceException("小程序密钥不能为空");
|
|
|
+ }
|
|
|
+
|
|
|
if (StringUtils.isBlank(bean.getId())) {
|
|
|
bean.setId(IdWorker.getIdStr());
|
|
|
}
|