diff --git a/hai-bweb/src/main/java/com/bweb/config/AuthConfig.java b/hai-bweb/src/main/java/com/bweb/config/AuthConfig.java index 021f5885..7c223cf0 100644 --- a/hai-bweb/src/main/java/com/bweb/config/AuthConfig.java +++ b/hai-bweb/src/main/java/com/bweb/config/AuthConfig.java @@ -90,6 +90,7 @@ public class AuthConfig implements WebMvcConfigurer { .excludePathPatterns("/**/springfox-swagger-ui/**") .excludePathPatterns("/**/swagger-ui.html") .excludePathPatterns("/login/userLogin") + .excludePathPatterns("/login/logout") .excludePathPatterns("/common/*") .excludePathPatterns("/sms/*") .excludePathPatterns("/cmsContent/get*") diff --git a/hai-bweb/src/main/java/com/bweb/controller/BsCompanyController.java b/hai-bweb/src/main/java/com/bweb/controller/BsCompanyController.java index bb713a4e..27e0f26f 100644 --- a/hai-bweb/src/main/java/com/bweb/controller/BsCompanyController.java +++ b/hai-bweb/src/main/java/com/bweb/controller/BsCompanyController.java @@ -91,8 +91,6 @@ public class BsCompanyController { SecUser user = secCompanyModel.getUser(); if (StringUtils.isBlank(company.getName()) || StringUtils.isBlank(company.getRegionId()) - || StringUtils.isBlank(company.getAddress()) - || StringUtils.isBlank(company.getPhone()) || StringUtils.isBlank(user.getLoginName()) || StringUtils.isBlank(user.getPassword()) ) { @@ -179,8 +177,6 @@ public class BsCompanyController { SecUser user = secCompanyModel.getUser(); if ( StringUtils.isBlank(company.getName()) || company.getRegionId() == null - || StringUtils.isBlank(company.getAddress()) - || StringUtils.isBlank(company.getPhone()) || company.getId() == null || StringUtils.isBlank(user.getLoginName()) || StringUtils.isBlank(user.getPassword())