From a7e051f0ae277fb49b9697d3fb7c964eed923e1d Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Wed, 30 Mar 2022 15:32:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=85=A5=E8=92=99=E9=80=9F=E5=8A=9EH5?= =?UTF-8?q?=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 6 +++ .../ServiceUserCenterApplication.java | 2 + .../config/WebSecurityConfig.java | 3 +- .../resources/templates/inspur-index.html | 38 +++++++++++++++++++ 4 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/templates/inspur-index.html 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