diff --git a/pom.xml b/pom.xml index e6fa4e7..127cff5 100644 --- a/pom.xml +++ b/pom.xml @@ -128,6 +128,12 @@ 1.0.2-SNAPSHOT + + com.cm + cloud-common-msbh5 + 1.0.2-SNAPSHOT + + org.projectlombok lombok diff --git a/src/main/java/com/cm/serviceusercenter/ServiceUserCenterApplication.java b/src/main/java/com/cm/serviceusercenter/ServiceUserCenterApplication.java index 8c02589..cb8b53d 100644 --- a/src/main/java/com/cm/serviceusercenter/ServiceUserCenterApplication.java +++ b/src/main/java/com/cm/serviceusercenter/ServiceUserCenterApplication.java @@ -3,6 +3,7 @@ package com.cm.serviceusercenter; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.context.annotation.ComponentScan; import springfox.documentation.swagger2.annotations.EnableSwagger2; @@ -13,6 +14,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2; @SpringBootApplication @ComponentScan("com.cm") @MapperScan({"com.cm.**.dao"}) +@ServletComponentScan(basePackages = "com.cm") public class ServiceUserCenterApplication { public static void main(String[] args) { diff --git a/src/main/java/com/cm/serviceusercenter/config/WebSecurityConfig.java b/src/main/java/com/cm/serviceusercenter/config/WebSecurityConfig.java index 7ad51cb..3da8efa 100644 --- a/src/main/java/com/cm/serviceusercenter/config/WebSecurityConfig.java +++ b/src/main/java/com/cm/serviceusercenter/config/WebSecurityConfig.java @@ -69,7 +69,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { "/route/file/**", "/api/sms/getverificationcode/*", "/api/user/getsignintype/**", - "/ws") + "/ws", + "/inspur/**") .permitAll() .and() .authorizeRequests() diff --git a/src/main/resources/templates/inspur-index.html b/src/main/resources/templates/inspur-index.html new file mode 100644 index 0000000..4a93f48 --- /dev/null +++ b/src/main/resources/templates/inspur-index.html @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + +
+
+
蒙速办-首页
+
+ 该页面用于对接测试 +
+ 正式环境需替换为实际应用首页 +
+
+
+ + + + \ No newline at end of file