From f2df45094c57fc5440efee31d7640646ca256094 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Tue, 6 Apr 2021 22:34:37 +0800 Subject: [PATCH] 1 --- hai-bweb/src/main/java/com/bweb/config/AuthConfig.java | 1 + .../main/java/com/bweb/controller/BsCompanyController.java | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) 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())