引入蒙速办H5依赖
This commit is contained in:
parent
d1b72dc1ea
commit
a7e051f0ae
6
pom.xml
6
pom.xml
@ -128,6 +128,12 @@
|
|||||||
<version>1.0.2-SNAPSHOT</version>
|
<version>1.0.2-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cm</groupId>
|
||||||
|
<artifactId>cloud-common-msbh5</artifactId>
|
||||||
|
<version>1.0.2-SNAPSHOT</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
<artifactId>lombok</artifactId>
|
<artifactId>lombok</artifactId>
|
||||||
|
@ -3,6 +3,7 @@ package com.cm.serviceusercenter;
|
|||||||
import org.mybatis.spring.annotation.MapperScan;
|
import org.mybatis.spring.annotation.MapperScan;
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
||||||
|
|
||||||
@ -13,6 +14,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
|||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
@ComponentScan("com.cm")
|
@ComponentScan("com.cm")
|
||||||
@MapperScan({"com.cm.**.dao"})
|
@MapperScan({"com.cm.**.dao"})
|
||||||
|
@ServletComponentScan(basePackages = "com.cm")
|
||||||
public class ServiceUserCenterApplication {
|
public class ServiceUserCenterApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
@ -69,7 +69,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
"/route/file/**",
|
"/route/file/**",
|
||||||
"/api/sms/getverificationcode/*",
|
"/api/sms/getverificationcode/*",
|
||||||
"/api/user/getsignintype/**",
|
"/api/user/getsignintype/**",
|
||||||
"/ws")
|
"/ws",
|
||||||
|
"/inspur/**")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
.and()
|
.and()
|
||||||
.authorizeRequests()
|
.authorizeRequests()
|
||||||
|
38
src/main/resources/templates/inspur-index.html
Normal file
38
src/main/resources/templates/inspur-index.html
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html xmlns:th="http://www.thymeleaf.org">
|
||||||
|
<head>
|
||||||
|
<base href="/usercenter/">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="renderer" content="webkit">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||||||
|
<link rel="icon" type="image/ico" href="assets/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="assets/layuiadmin/layui/css/layui.css" media="all">
|
||||||
|
<link rel="stylesheet" href="assets/layuiadmin/style/admin.css" media="all">
|
||||||
|
<link rel="stylesheet" href="assets/css/supersized.css">
|
||||||
|
<link rel="stylesheet" href="assets/layuiadmin/style/login.css?t=2" media="all">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login">
|
||||||
|
<div class="layui-card">
|
||||||
|
<div class="layui-card-header">蒙速办-首页</div>
|
||||||
|
<div class="layui-card-body">
|
||||||
|
该页面用于对接测试
|
||||||
|
<br>
|
||||||
|
正式环境需替换为实际应用首页
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script src="assets/layuiadmin/layui/layui.js"></script>
|
||||||
|
<script>
|
||||||
|
layui.config({
|
||||||
|
base: 'assets/layuiadmin/'
|
||||||
|
}).extend({
|
||||||
|
index: 'lib/index'
|
||||||
|
}).use(['index'], function () {
|
||||||
|
var $ = layui.$;
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user