This commit is contained in:
parent
d40d78bc3b
commit
4a454daacf
|
|
@ -1,14 +1,14 @@
|
|||
@echo off
|
||||
echo.
|
||||
echo [信息] 运行Web工程。
|
||||
echo [信息] 执行Web。
|
||||
echo.
|
||||
|
||||
cd %~dp0
|
||||
cd ../ruoyi-admin/target
|
||||
cd ../infosouth-admin/target
|
||||
|
||||
set JAVA_OPTS=-Xms256m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
|
||||
|
||||
java -jar %JAVA_OPTS% ruoyi-admin.jar
|
||||
java -jar %JAVA_OPTS% infosouth-admin.jar
|
||||
|
||||
cd bin
|
||||
pause
|
||||
|
|
@ -3,6 +3,7 @@ package cn.com.infosouth;
|
|||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
|
||||
/**
|
||||
* 启动程序
|
||||
|
|
@ -16,6 +17,6 @@ public class RuoYiApplication
|
|||
{
|
||||
// System.setProperty("spring.devtools.restart.enabled", "false");
|
||||
SpringApplication.run(RuoYiApplication.class, args);
|
||||
System.out.println(" 系统启动成功(◠‿◠) \n");
|
||||
System.out.println(" 系统启动成功 \n");
|
||||
}
|
||||
}
|
||||
|
|
@ -34,6 +34,8 @@ public class SysIndexController extends BaseController
|
|||
mmap.put("menus", menus);
|
||||
mmap.put("user", user);
|
||||
mmap.put("sysName", Global.getName());
|
||||
mmap.put("sysBaba", Global.getBaba());
|
||||
mmap.put("sysWelcome", Global.getWelcome());
|
||||
mmap.put("sysVersion", Global.getVersion());
|
||||
mmap.put("copyrightYear", Global.getCopyrightYear());
|
||||
mmap.put("demoEnabled", Global.isDemoEnabled());
|
||||
|
|
|
|||
|
|
@ -39,17 +39,15 @@ public class SysLoginController extends BaseController
|
|||
}
|
||||
|
||||
@GetMapping("/login")
|
||||
public String login(ModelMap mmap)
|
||||
public String login(ModelMap mmap, HttpServletRequest request, HttpServletResponse response)
|
||||
{
|
||||
// 如果是Ajax请求,返回Json字符串。
|
||||
//HttpServletRequest request, HttpServletResponse response,
|
||||
// if (ServletUtils.isAjaxRequest(request))
|
||||
// {
|
||||
// return ServletUtils.renderString(response, "{\"code\":\"1\",\"msg\":\"未登录或登录超时。请重新登录\"}");
|
||||
//
|
||||
// }
|
||||
if (ServletUtils.isAjaxRequest(request)) {
|
||||
return ServletUtils.renderString(response, "{\"code\":\"1\",\"msg\":\"未登录或登录超时。请重新登录\"}");
|
||||
|
||||
}
|
||||
mmap.put("sysName", Global.getName());
|
||||
mmap.put("sysWelcome", Global.getWelcomeDesc());
|
||||
mmap.put("sysWelcome", Global.getWelcome());
|
||||
mmap.put("sysBaba", Global.getBaba());
|
||||
mmap.put("copyrightYear", Global.getCopyrightYear());
|
||||
mmap.put("sysVersion", Global.getVersion());
|
||||
|
|
|
|||
|
|
@ -13,14 +13,12 @@ import cn.com.infosouth.common.core.controller.BaseController;
|
|||
*/
|
||||
@Controller
|
||||
@RequestMapping("/tool/build")
|
||||
public class BuildController extends BaseController
|
||||
{
|
||||
private String prefix = "tool/build";
|
||||
public class BuildController extends BaseController {
|
||||
private String prefix = "tool/build";
|
||||
|
||||
@RequiresPermissions("tool:build:view")
|
||||
@GetMapping()
|
||||
public String build()
|
||||
{
|
||||
return prefix + "/build";
|
||||
}
|
||||
@RequiresPermissions("tool:build:view")
|
||||
@GetMapping()
|
||||
public String build() {
|
||||
return prefix + "/build";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
# 项目相关配置
|
||||
ruoyi:
|
||||
infosouth:
|
||||
# 名称
|
||||
name: ARJ21-700飞机参考机型虚拟数据库
|
||||
welcomeDesc: "ARJ21-700飞机 参考机型虚拟数据库"
|
||||
baba: 中国商飞
|
||||
baba: 中国商飞客服公司
|
||||
welcome: ARJ21-700飞机参考机型虚拟数据库
|
||||
# 版本
|
||||
version: 4.1.0
|
||||
# 版权年份
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Application Version: ${ruoyi.version}
|
||||
Application Version: ${infosouth.version}
|
||||
Spring Boot Version: ${spring-boot.version}
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
__ __ _____ _____ ____ __ __ _____
|
||||
|
|
|
|||
|
|
@ -1,147 +1,176 @@
|
|||
html {
|
||||
height:100%
|
||||
height: 100%
|
||||
}
|
||||
|
||||
body.signin {
|
||||
height:auto;
|
||||
background:url(../img/login-background.jpg) no-repeat center fixed;
|
||||
-webkit-background-size:cover;
|
||||
-moz-background-size:cover;
|
||||
-o-background-size:cover;
|
||||
background-size:cover;
|
||||
color:rgba(255,255,255,.95)
|
||||
height: auto;
|
||||
background: url(../img/login-background.jpg) no-repeat center fixed;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
color: rgba(255, 255, 255, .95);
|
||||
}
|
||||
|
||||
.mohu {
|
||||
float:left;
|
||||
background-position:center;
|
||||
background-repeat:no-repeat;
|
||||
background-size:cover;
|
||||
-webkit-filter: blur(9px);
|
||||
-moz-filter: blur(9px);
|
||||
-o-filter: blur(9px);
|
||||
-ms-filter: blur(9px);
|
||||
filter:blur(9px);
|
||||
}
|
||||
|
||||
.signinpanel {
|
||||
width:750px;
|
||||
margin:10% auto 0
|
||||
width: 750px;
|
||||
margin: 10% auto 0
|
||||
}
|
||||
|
||||
.signinpanel .logopanel {
|
||||
float:none;
|
||||
width:auto;
|
||||
padding:0;
|
||||
background:0 0
|
||||
float: none;
|
||||
width: auto;
|
||||
padding: 0;
|
||||
background: 0 0
|
||||
}
|
||||
|
||||
.signinpanel .signin-info ul {
|
||||
list-style:none;
|
||||
padding:0;
|
||||
margin:20px 0
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 20px 0
|
||||
}
|
||||
|
||||
.signinpanel .form-control {
|
||||
display:block;
|
||||
margin-top:15px
|
||||
display: block;
|
||||
margin-top: 15px
|
||||
}
|
||||
|
||||
.signinpanel .uname {
|
||||
background:#fff url(../img/user.png) no-repeat 95% center;
|
||||
color:#333
|
||||
background: #fff url(../img/user.png) no-repeat 95% center;
|
||||
color: #333
|
||||
}
|
||||
|
||||
.signinpanel .pword {
|
||||
background:#fff url(../img/locked.png) no-repeat 95% center;
|
||||
color:#333
|
||||
background: #fff url(../img/locked.png) no-repeat 95% center;
|
||||
color: #333
|
||||
}
|
||||
|
||||
.signinpanel .code {
|
||||
background: #fff no-repeat 95% center;color:#333; margin:0 0 15px 0;
|
||||
background: #fff no-repeat 95% center;
|
||||
color: #333;
|
||||
margin: 0 0 15px 0;
|
||||
}
|
||||
|
||||
.signinpanel .btn {
|
||||
margin-top:15px
|
||||
margin-top: 15px
|
||||
}
|
||||
|
||||
.signinpanel form {
|
||||
background:rgba(255,255,255,.2);
|
||||
border:1px solid rgba(255,255,255,.3);
|
||||
-moz-box-shadow:0 3px 0 rgba(12,12,12,.03);
|
||||
-webkit-box-shadow:0 3px 0 rgba(12,12,12,.03);
|
||||
box-shadow:0 3px 0 rgba(12,12,12,.03);
|
||||
-moz-border-radius:3px;
|
||||
-webkit-border-radius:3px;
|
||||
border-radius:3px;
|
||||
padding:30px
|
||||
background: rgba(255, 255, 255, .2);
|
||||
border: 1px solid rgba(255, 255, 255, .3);
|
||||
-moz-box-shadow: 0 3px 0 rgba(12, 12, 12, .03);
|
||||
-webkit-box-shadow: 0 3px 0 rgba(12, 12, 12, .03);
|
||||
box-shadow: 0 3px 0 rgba(12, 12, 12, .03);
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
padding: 30px
|
||||
}
|
||||
|
||||
.signup-footer {
|
||||
border-top:solid 1px rgba(255,255,255,.3);
|
||||
margin:20px 0;
|
||||
padding-top:15px
|
||||
border-top: solid 1px rgba(255, 255, 255, .3);
|
||||
margin: 20px 0;
|
||||
padding-top: 15px
|
||||
}
|
||||
|
||||
@media screen and (max-width:768px) {
|
||||
.signinpanel,.signuppanel {
|
||||
margin:0 auto;
|
||||
width:420px!important;
|
||||
padding:20px
|
||||
}
|
||||
.signinpanel form {
|
||||
margin-top:20px
|
||||
}
|
||||
.signup-footer,.signuppanel .form-control {
|
||||
margin-bottom:10px
|
||||
}
|
||||
.signup-footer .pull-left,.signup-footer .pull-right {
|
||||
float:none!important;
|
||||
text-align:center
|
||||
}
|
||||
.signinpanel .signin-info ul {
|
||||
display:none
|
||||
}
|
||||
}@media screen and (max-width:320px) {
|
||||
.signinpanel,.signuppanel {
|
||||
margin:0 20px;
|
||||
width:auto
|
||||
.signinpanel, .signuppanel {
|
||||
margin: 0 auto;
|
||||
width: 420px !important;
|
||||
padding: 20px
|
||||
}
|
||||
.signinpanel form {
|
||||
margin-top: 20px
|
||||
}
|
||||
.signup-footer, .signuppanel .form-control {
|
||||
margin-bottom: 10px
|
||||
}
|
||||
.signup-footer .pull-left, .signup-footer .pull-right {
|
||||
float: none !important;
|
||||
text-align: center
|
||||
}
|
||||
.signinpanel .signin-info ul {
|
||||
display: none
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width:320px) {
|
||||
.signinpanel, .signuppanel {
|
||||
margin: 0 20px;
|
||||
width: auto
|
||||
}
|
||||
}
|
||||
/*
|
||||
登录界面check样式
|
||||
閻ц缍嶉悾宀勬桨check閺嶅嘲绱<EFBFBD>
|
||||
*/
|
||||
.checkbox-custom {
|
||||
position: relative;
|
||||
padding: 0 15px 0 25px;
|
||||
margin-bottom: 7px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding: 0 15px 0 25px;
|
||||
margin-bottom: 7px;
|
||||
display: inline-block;
|
||||
}
|
||||
/*
|
||||
将初始的checkbox的样式改变
|
||||
鐏忓棗鍨垫慨瀣畱checkbox閻ㄥ嫭鐗卞蹇旀暭閸欙拷
|
||||
*/
|
||||
.checkbox-custom input[type="checkbox"] {
|
||||
opacity: 0; /*将初始的checkbox隐藏起来*/
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
z-index: 2;
|
||||
margin: -6px 0 0 0;
|
||||
top: 50%;
|
||||
left: 3px;
|
||||
opacity: 0; /*鐏忓棗鍨垫慨瀣畱checkbox闂呮劘妫岀挧閿嬫降*/
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
z-index: 2;
|
||||
margin: -6px 0 0 0;
|
||||
top: 50%;
|
||||
left: 3px;
|
||||
}
|
||||
/*
|
||||
设计新的checkbox,位置
|
||||
鐠佹崘顓搁弬鎵畱checkbox閿涘奔缍呯純锟<EFBFBD>
|
||||
*/
|
||||
.checkbox-custom label:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
margin-top: -9px;
|
||||
width: 18px;
|
||||
height: 17px;
|
||||
display: inline-block;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #bbb;
|
||||
background: #fff;
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
margin-top: -9px;
|
||||
width: 18px;
|
||||
height: 17px;
|
||||
display: inline-block;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #bbb;
|
||||
background: #fff;
|
||||
}
|
||||
/*
|
||||
点击初始的checkbox,将新的checkbox关联起来
|
||||
閻愮懓鍤崚婵嗩潗閻ㄥ垻heckbox閿涘苯鐨㈤弬鎵畱checkbox閸忓疇浠堢挧閿嬫降
|
||||
*/
|
||||
.checkbox-custom input[type="checkbox"]:checked +label:after {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
font-family: 'Glyphicons Halflings';
|
||||
content: "\e013";
|
||||
top: 42%;
|
||||
left: 3px;
|
||||
margin-top: -5px;
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: #333;
|
||||
.checkbox-custom input[type="checkbox"]:checked+label:after {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
font-family: 'Glyphicons Halflings';
|
||||
content: "\e013";
|
||||
top: 42%;
|
||||
left: 3px;
|
||||
margin-top: -5px;
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.checkbox-custom label {
|
||||
cursor: pointer;
|
||||
line-height: 1.2;
|
||||
font-weight: normal; /*改变了rememberme的字体*/
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
line-height: 1.2;
|
||||
font-weight: normal; /*閺<>鐟板綁娴滃敃ememberme閻ㄥ嫬鐡ф担锟<E68B85>*/
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
|
@ -473,7 +473,7 @@ body.body-small.fixed-sidebar.mini-navbar .navbar-static-side {
|
|||
border-left-width: 0;
|
||||
}
|
||||
|
||||
/*伸缩菜单*/
|
||||
/*浼哥缉鑿滃崟*/
|
||||
.fixed-sidebar.mini-navbar .nav li:hover>a> span.nav-label {
|
||||
top: 0px;
|
||||
padding: 10px 10px 10px 10px;
|
||||
|
|
@ -495,7 +495,7 @@ body.body-small.fixed-sidebar.mini-navbar .navbar-static-side {
|
|||
min-width: 140px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
/*伸缩菜单结束*/
|
||||
/*浼哥缉鑿滃崟缁撴潫*/
|
||||
|
||||
body.fixed-sidebar.mini-navbar .navbar-default .nav>li>.nav-second-level li a {
|
||||
font-size: 12px;
|
||||
|
|
@ -6927,7 +6927,7 @@ body.rtls .top-navigation .footer.fixed, body.rtls.top-navigation .footer.fixed
|
|||
padding:0;
|
||||
}
|
||||
|
||||
/*编辑器按钮样式冲突*/
|
||||
/*缂栬緫鍣ㄦ寜閽牱寮忓啿绐<EFBFBD>*/
|
||||
.note-editor .btn-default {
|
||||
color: #333333!important;
|
||||
background-color: #ffffff!important;
|
||||
|
|
@ -7030,3 +7030,19 @@ body.rtls .top-navigation .footer.fixed, body.rtls.top-navigation .footer.fixed
|
|||
z-index: 9998;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.welcome-lang {
|
||||
float:left;
|
||||
margin: 0px;
|
||||
font-size: 20px;
|
||||
width:60%;
|
||||
color:white;
|
||||
}
|
||||
|
||||
.welcome-lang span{
|
||||
text-align: center;
|
||||
display: block;
|
||||
line-height: 50px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 0 B |
Binary file not shown.
|
After Width: | Height: | Size: 676 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 9.9 KiB |
|
|
@ -1,10 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>csvmanager-infoflight</title>
|
||||
</head>
|
||||
<body>
|
||||
infoflight---哈哈哈~
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="renderer" content="webkit">
|
||||
<title>${{sysName}}-首页</title>
|
||||
<title>[[${sysName}]]</title>
|
||||
<!--[if lt IE 9]>
|
||||
<meta http-equiv="refresh" content="0;ie.html"/>
|
||||
<![endif]-->
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
<ul class="nav" id="side-menu">
|
||||
<a th:href="@{/index}">
|
||||
<li class="logo">
|
||||
<span class="logo-lg" >RuoYi</span>
|
||||
<span class="logo-lg" >[[${sysBaba}]]</span>
|
||||
</li>
|
||||
</a>
|
||||
<li>
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
<li>
|
||||
<a href="#"><i class="fa fa-home"></i> <span class="nav-label">主页</span> <span class="fa arrow"></span></a>
|
||||
<ul class="nav nav-second-level">
|
||||
<li><a class="menuItem" th:href="@{/system/main}">了解若依</a></li>
|
||||
<li><a class="menuItem" th:href="@{/system/main}">首页</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li th:each="menu : ${menus}">
|
||||
|
|
@ -180,9 +180,10 @@
|
|||
<i class="fa fa-bars"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="nav navbar-top-links welcome-lang">
|
||||
<span>[[${sysWelcome}]]</span>
|
||||
</div>
|
||||
<ul class="nav navbar-top-links navbar-right welcome-message">
|
||||
<li><a title="视频教程" href="http://doc.ruoyi.vip/ruoyi/document/spjc.html" target="_blank"><i class="fa fa-video-camera"></i> 视频教程</a></li>
|
||||
<li><a title="开发文档" href="http://doc.ruoyi.vip" target="_blank"><i class="fa fa-question-circle"></i> 开发文档</a></li>
|
||||
<li><a title="全屏显示" href="javascript:void(0)" id="fullScreen"><i class="fa fa-arrows-alt"></i> 全屏显示</a></li>
|
||||
<li class="dropdown user-menu">
|
||||
<a href="javascript:void(0)" class="dropdown-toggle" data-hover="dropdown">
|
||||
|
|
|
|||
|
|
@ -1,80 +1,110 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
|
||||
<title>[[${sysName}]] 登录</title>
|
||||
<meta name="description" content="后台管理系统">
|
||||
<link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
|
||||
<link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
|
||||
<link href="../static/css/style.css" th:href="@{/css/style.css}" rel="stylesheet"/>
|
||||
<link href="../static/css/login.min.css" th:href="@{/css/login.min.css}" rel="stylesheet"/>
|
||||
<link href="../static/ruoyi/css/ry-ui.css" th:href="@{/ruoyi/css/ry-ui.css?v=4.1.0}" rel="stylesheet"/>
|
||||
<!-- 360浏览器急速模式 -->
|
||||
<meta name="renderer" content="webkit">
|
||||
<!-- 避免IE使用兼容模式 -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="shortcut icon" href="../static/favicon.ico" th:href="@{favicon.ico}"/>
|
||||
<style type="text/css">label.error { position:inherit; }</style>
|
||||
<script>
|
||||
<title>[[${sysName}]] 登录</title>
|
||||
<meta name="description" content="后台管理系统">
|
||||
<link href="../static/css/bootstrap.min.css"
|
||||
th:href="@{/css/bootstrap.min.css}" rel="stylesheet" />
|
||||
<link href="../static/css/font-awesome.min.css"
|
||||
th:href="@{/css/font-awesome.min.css}" rel="stylesheet" />
|
||||
<link href="../static/css/style.css" th:href="@{/css/style.css}"
|
||||
rel="stylesheet" />
|
||||
<link href="../static/css/login.css" th:href="@{/css/login.css}"
|
||||
rel="stylesheet" />
|
||||
<link href="../static/ruoyi/css/ry-ui.css"
|
||||
th:href="@{/ruoyi/css/ry-ui.css?v=4.1.0}" rel="stylesheet" />
|
||||
<!-- 360浏览器急速模式 -->
|
||||
<meta name="renderer" content="webkit">
|
||||
<!-- 避免IE使用兼容模式 -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="shortcut icon" href="../static/favicon.ico"
|
||||
th:href="@{favicon.ico}" />
|
||||
<style type="text/css">
|
||||
label.error {
|
||||
position: inherit;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
if(window.top!==window.self){window.top.location=window.location};
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="signin">
|
||||
|
||||
<div class="signinpanel">
|
||||
<div class="row">
|
||||
<div class="col-sm-7">
|
||||
<div class="signin-info">
|
||||
<div class="logopanel m-b">
|
||||
<h1><img alt="[ [[${sysBaba}]] ]" src="../static/comac.png" th:src="@{/comac.png}"></h1>
|
||||
</div>
|
||||
<div class="m-b"></div>
|
||||
<h4>[[${sysWelcome}]] ---</h4>
|
||||
<strong>还没有账号? <a href="#">立即注册»</a></strong>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<form id="signupForm">
|
||||
<h4 class="no-margins">登录</h4>
|
||||
<p class="m-t-md">>>请注意数据保密</p>
|
||||
<input type="text" name="username" class="form-control uname" placeholder="用户名" value="admin" />
|
||||
<input type="password" name="password" class="form-control pword" placeholder="密码" value="admin123" />
|
||||
<div class="mohu"></div>
|
||||
<div class="signinpanel">
|
||||
<div class="row">
|
||||
<div class="col-sm-4">
|
||||
<div class="signin-info">
|
||||
<div class="logopanel m-b">
|
||||
<h1>
|
||||
<img alt="[ [[${sysBaba}]] ]" src="../static/comac.png"
|
||||
th:src="@{/comac.png}">
|
||||
</h1>
|
||||
</div>
|
||||
<div class="m-b"></div>
|
||||
<h2>[[${sysWelcome}]]</h2>
|
||||
<!--<strong>还没有账号? <a href="#">立即注册»</a></strong> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3"></div>
|
||||
<div class="col-sm-5">
|
||||
<form id="signupForm">
|
||||
<h4 class="no-margins">登录</h4>
|
||||
<p class="m-t-md">注意数据保密!</p>
|
||||
<input type="text" name="username" class="form-control uname"
|
||||
placeholder="用户名" value="admin" /> <input type="password"
|
||||
name="password" class="form-control pword" placeholder="密码"
|
||||
value="admin123" />
|
||||
<div class="row m-t" th:if="${captchaEnabled==true}">
|
||||
<div class="col-xs-6">
|
||||
<input type="text" name="validateCode" class="form-control code" placeholder="验证码" maxlength="5" autocomplete="off">
|
||||
<input type="text" name="validateCode" class="form-control code"
|
||||
placeholder="验证码" maxlength="5" autocomplete="off">
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<a href="javascript:void(0);" title="点击更换验证码">
|
||||
<img th:src="@{captcha/captchaImage(type=${captchaType})}" class="imgcode" width="85%"/>
|
||||
<a href="javascript:void(0);" title="点击更换验证码"> <img
|
||||
th:src="@{captcha/captchaImage(type=${captchaType})}"
|
||||
class="imgcode" width="85%" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="checkbox-custom" th:classappend="${captchaEnabled==false} ? 'm-t'">
|
||||
<input type="checkbox" id="rememberme" name="rememberme"> <label for="rememberme">记住我</label>
|
||||
</div>
|
||||
<button class="btn btn-success btn-block" id="btnSubmit" data-loading="正在验证登录,请稍后...">登录</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="signup-footer">
|
||||
<div class="pull-left">
|
||||
<div class="pull-right">Copyright © [[${copyrightYear}]] Powered By Infosouth [[${sysVersion}]]</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script th:inline="javascript"> var ctx = [[@{/}]]; var captchaType = [[${captchaType}]]; </script>
|
||||
<!-- 全局js -->
|
||||
<script src="../static/js/jquery.min.js" th:src="@{/js/jquery.min.js}"></script>
|
||||
<script src="../static/js/bootstrap.min.js" th:src="@{/js/bootstrap.min.js}"></script>
|
||||
<!-- 验证插件 -->
|
||||
<script src="../static/ajax/libs/validate/jquery.validate.min.js" th:src="@{/ajax/libs/validate/jquery.validate.min.js}"></script>
|
||||
<script src="../static/ajax/libs/validate/messages_zh.min.js" th:src="@{/ajax/libs/validate/messages_zh.min.js}"></script>
|
||||
<script src="../static/ajax/libs/layer/layer.min.js" th:src="@{/ajax/libs/layer/layer.min.js}"></script>
|
||||
<script src="../static/ajax/libs/blockUI/jquery.blockUI.js" th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
|
||||
<script src="../static/ruoyi/js/ry-ui.js" th:src="@{/ruoyi/js/ry-ui.js?v=4.1.0}"></script>
|
||||
<script src="../static/ruoyi/login.js" th:src="@{/ruoyi/login.js}"></script>
|
||||
<div class="checkbox-custom"
|
||||
th:classappend="${captchaEnabled==false} ? 'm-t'">
|
||||
<input type="checkbox" id="rememberme" name="rememberme">
|
||||
<label for="rememberme">记住我</label>
|
||||
</div>
|
||||
<button class="btn btn-success btn-block" id="btnSubmit"
|
||||
data-loading="正在验证登录,请稍后...">登录</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row"></div>
|
||||
<div class="signup-footer">
|
||||
<div class="pull-left">
|
||||
<div class="pull-right">Copyright © [[${copyrightYear}]]
|
||||
Powered By Infosouth [[${sysVersion}]]</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script th:inline="javascript"> var ctx = [[@{/}]]; var captchaType = [[${captchaType}]]; </script>
|
||||
<!-- 全局js -->
|
||||
<script src="../static/js/jquery.min.js" th:src="@{/js/jquery.min.js}"></script>
|
||||
<script src="../static/js/bootstrap.min.js"
|
||||
th:src="@{/js/bootstrap.min.js}"></script>
|
||||
<!-- 验证插件 -->
|
||||
<script src="../static/ajax/libs/validate/jquery.validate.min.js"
|
||||
th:src="@{/ajax/libs/validate/jquery.validate.min.js}"></script>
|
||||
<script src="../static/ajax/libs/validate/messages_zh.min.js"
|
||||
th:src="@{/ajax/libs/validate/messages_zh.min.js}"></script>
|
||||
<script src="../static/ajax/libs/layer/layer.min.js"
|
||||
th:src="@{/ajax/libs/layer/layer.min.js}"></script>
|
||||
<script src="../static/ajax/libs/blockUI/jquery.blockUI.js"
|
||||
th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
|
||||
<script src="../static/ruoyi/js/ry-ui.js"
|
||||
th:src="@{/ruoyi/js/ry-ui.js?v=4.1.0}"></script>
|
||||
<script src="../static/ruoyi/login.js" th:src="@{/ruoyi/login.js}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,12 @@ package cn.com.infosouth.arj21.controller.csvmanager;
|
|||
import cn.com.infosouth.common.config.Global;
|
||||
import cn.com.infosouth.common.core.controller.BaseController;
|
||||
import cn.com.infosouth.common.core.domain.AjaxResult;
|
||||
import cn.com.infosouth.common.utils.ServletUtils;
|
||||
import cn.com.infosouth.common.utils.StringUtils;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.apache.shiro.SecurityUtils;
|
||||
import org.apache.shiro.authc.AuthenticationException;
|
||||
import org.apache.shiro.authc.UsernamePasswordToken;
|
||||
|
|
@ -21,20 +26,19 @@ public class CsvManagerController extends BaseController {
|
|||
private String prefix = "arj21/csvmanager";
|
||||
|
||||
@GetMapping("/infoFlight")
|
||||
public String list(ModelMap mmap)
|
||||
public String list(ModelMap mmap, HttpServletRequest request, HttpServletResponse response)
|
||||
{
|
||||
// 如果是Ajax请求,返回Json字符串。
|
||||
//HttpServletRequest request, HttpServletResponse response,
|
||||
// if (ServletUtils.isAjaxRequest(request))
|
||||
// {
|
||||
// return ServletUtils.renderString(response, "{\"code\":\"1\",\"msg\":\"未登录或登录超时。请重新登录\"}");
|
||||
//
|
||||
// }
|
||||
// mmap.put("sysName", Global.getName());
|
||||
// mmap.put("sysWelcome", Global.getWelcomeDesc());
|
||||
// mmap.put("sysBaba", Global.getBaba());
|
||||
// mmap.put("copyrightYear", Global.getCopyrightYear());
|
||||
// mmap.put("sysVersion", Global.getVersion());
|
||||
if (ServletUtils.isAjaxRequest(request))
|
||||
{
|
||||
return ServletUtils.renderString(response, "{\"code\":\"1\",\"msg\":\"未登录或登录超时。请重新登录\"}");
|
||||
|
||||
}
|
||||
mmap.put("sysName", Global.getName());
|
||||
mmap.put("sysWelcome", Global.getWelcome());
|
||||
mmap.put("sysBaba", Global.getBaba());
|
||||
mmap.put("copyrightYear", Global.getCopyrightYear());
|
||||
mmap.put("sysVersion", Global.getVersion());
|
||||
return prefix + "/list";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsi="http:r//www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>amas.comac</artifactId>
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ import org.springframework.stereotype.Component;
|
|||
* @author ruoyi
|
||||
*/
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "ruoyi")
|
||||
@ConfigurationProperties(prefix = "infosouth")
|
||||
public class Global
|
||||
{
|
||||
/** 项目名称 */
|
||||
private static String name;
|
||||
|
||||
/** 欢迎词 **/
|
||||
private static String welcomeDesc;
|
||||
private static String welcome;
|
||||
|
||||
/** 甲方爸爸 **/
|
||||
private static String baba;
|
||||
|
|
@ -46,23 +46,23 @@ public class Global
|
|||
Global.name = name;
|
||||
}
|
||||
|
||||
public static String getWelcomeDesc() {
|
||||
return welcomeDesc;
|
||||
}
|
||||
public static String getWelcome() {
|
||||
return welcome;
|
||||
}
|
||||
|
||||
public static void setWelcomeDesc(String welcomeDesc) {
|
||||
Global.welcomeDesc = welcomeDesc;
|
||||
}
|
||||
public void setWelcome(String welcome) {
|
||||
Global.welcome = welcome;
|
||||
}
|
||||
|
||||
public static String getBaba() {
|
||||
return baba;
|
||||
}
|
||||
public static String getBaba() {
|
||||
return baba;
|
||||
}
|
||||
|
||||
public static void setBaba(String baba) {
|
||||
Global.baba = baba;
|
||||
}
|
||||
public void setBaba(String baba) {
|
||||
Global.baba = baba;
|
||||
}
|
||||
|
||||
public static String getVersion()
|
||||
public static String getVersion()
|
||||
{
|
||||
return version;
|
||||
}
|
||||
|
|
|
|||
148
pom.xml
148
pom.xml
|
|
@ -1,19 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>cn.com.infosouth</groupId>
|
||||
<artifactId>amas.comac</artifactId>
|
||||
<version>4.1.0</version>
|
||||
<groupId>cn.com.infosouth</groupId>
|
||||
<artifactId>amas.comac</artifactId>
|
||||
<version>4.1.0</version>
|
||||
|
||||
<name>amas.comac.v2</name>
|
||||
<name>amas.comac.v2</name>
|
||||
<url>http://www.infosouth.com.cn</url>
|
||||
<description>管理系统</description>
|
||||
<description>管理系统</description>
|
||||
|
||||
<properties>
|
||||
<infosouth.version>4.1.0</infosouth.version>
|
||||
<properties>
|
||||
<infosouth.version>4.1.0</infosouth.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>1.8</java.version>
|
||||
|
|
@ -33,27 +33,27 @@
|
|||
<velocity.version>1.7</velocity.version>
|
||||
</properties>
|
||||
|
||||
<!-- 依赖声明 -->
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- 依赖声明 -->
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
|
||||
<!-- SpringBoot的依赖配置-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>2.1.1.RELEASE</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
<!--阿里数据库连接池 -->
|
||||
<!-- SpringBoot的依赖配置 -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid-spring-boot-starter</artifactId>
|
||||
<version>${druid.version}</version>
|
||||
</dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>2.1.1.RELEASE</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
<!--验证码 -->
|
||||
<!--阿里数据库连接池 -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid-spring-boot-starter</artifactId>
|
||||
<version>${druid.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!--验证码 -->
|
||||
<dependency>
|
||||
<groupId>com.github.penggle</groupId>
|
||||
<artifactId>kaptcha</artifactId>
|
||||
|
|
@ -109,31 +109,31 @@
|
|||
<version>${oshi.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- swagger2-->
|
||||
<!-- swagger2 -->
|
||||
<dependency>
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger2</artifactId>
|
||||
<version>${swagger.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-models</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-models</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- swagger2-UI-->
|
||||
<!-- swagger2-UI -->
|
||||
<dependency>
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger-ui</artifactId>
|
||||
<version>${swagger.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!--io常用工具类 -->
|
||||
<!--io常用工具类 -->
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
|
|
@ -155,74 +155,74 @@
|
|||
</dependency>
|
||||
|
||||
<!--velocity代码生成使用模板 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.velocity</groupId>
|
||||
<artifactId>velocity</artifactId>
|
||||
<version>${velocity.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.velocity</groupId>
|
||||
<artifactId>velocity</artifactId>
|
||||
<version>${velocity.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 阿里JSON解析器 -->
|
||||
<!-- 阿里JSON解析器 -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>${fastjson.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- ARJ21-->
|
||||
<!-- ARJ21 -->
|
||||
<dependency>
|
||||
<groupId>cn.com.infosouth</groupId>
|
||||
<artifactId>infosouth-arj21</artifactId>
|
||||
<version>${infosouth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 定时任务-->
|
||||
<!-- 定时任务 -->
|
||||
<dependency>
|
||||
<groupId>cn.com.infosouth</groupId>
|
||||
<artifactId>infosouth-quartz</artifactId>
|
||||
<version>${infosouth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 代码生成-->
|
||||
<!-- 代码生成 -->
|
||||
<dependency>
|
||||
<groupId>cn.com.infosouth</groupId>
|
||||
<artifactId>infosouth-generator</artifactId>
|
||||
<version>${infosouth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 核心模块-->
|
||||
<!-- 核心模块 -->
|
||||
<dependency>
|
||||
<groupId>cn.com.infosouth</groupId>
|
||||
<artifactId>infosouth-framework</artifactId>
|
||||
<version>${infosouth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 系统模块-->
|
||||
<!-- 系统模块 -->
|
||||
<dependency>
|
||||
<groupId>cn.com.infosouth</groupId>
|
||||
<artifactId>infosouth-system</artifactId>
|
||||
<version>${infosouth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 通用工具-->
|
||||
<dependency>
|
||||
<groupId>cn.com.infosouth</groupId>
|
||||
<artifactId>infosouth-common</artifactId>
|
||||
<version>${infosouth.version}</version>
|
||||
</dependency>
|
||||
<!-- 通用工具 -->
|
||||
<dependency>
|
||||
<groupId>cn.com.infosouth</groupId>
|
||||
<artifactId>infosouth-common</artifactId>
|
||||
<version>${infosouth.version}</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<modules>
|
||||
<module>infosouth-admin</module>
|
||||
<modules>
|
||||
<module>infosouth-admin</module>
|
||||
<module>infosouth-framework</module>
|
||||
<module>infosouth-system</module>
|
||||
<module>infosouth-quartz</module>
|
||||
<module>infosouth-generator</module>
|
||||
<module>infosouth-common</module>
|
||||
<module>infosouth-arj21</module>
|
||||
<module>infosouth-common</module>
|
||||
</modules>
|
||||
<packaging>pom</packaging>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
|
||||
<dependencies>
|
||||
|
|
@ -232,19 +232,19 @@
|
|||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
|
|
|
|||
Loading…
Reference in New Issue