引入蒙速办H5依赖

This commit is contained in:
wans 2022-03-30 15:32:39 +08:00
parent d1b72dc1ea
commit a7e051f0ae
4 changed files with 48 additions and 1 deletions

View File

@ -128,6 +128,12 @@
<version>1.0.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.cm</groupId>
<artifactId>cloud-common-msbh5</artifactId>
<version>1.0.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>

View File

@ -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) {

View File

@ -69,7 +69,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
"/route/file/**",
"/api/sms/getverificationcode/*",
"/api/user/getsignintype/**",
"/ws")
"/ws",
"/inspur/**")
.permitAll()
.and()
.authorizeRequests()

View 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>