Home页重构

master
wangbing 6 years ago
parent d662f6b345
commit 8bc4293842

@ -23,6 +23,7 @@ public class LocalData {
private static Token system = null;
static {
// 组装临时Token和系统Token
temp = new Token();
temp.setId(-1);
temp.setUserId(-1);
@ -32,6 +33,7 @@ public class LocalData {
temp.putResource("/upload");
temp.putResource("/index.htm");
temp.putResource("/home.htm");
temp.putResource("/app.htm");
temp.putResource("ajax.example.example");
system = new Token();
system.setId(0);

@ -17,7 +17,7 @@ web.welcome.page = /login.htm
# 需要验证授权, 既访问时组装Token
web.url.auth.included = /**
# 不需要验证授权, 或该请求有自己的验证机制
web.url.auth.excluded = /favicon.ico,/static/**,/open/**,/api,/login.htm
web.url.auth.excluded = /favicon.ico,/static/**,/api,/login.htm
# 默认的登录URL
web.url.login = /login.htm
# 日志配置

@ -18,7 +18,7 @@ web.welcome.page = /index.htm
# 需要验证授权, 既访问时组装Token
web.url.auth.included = /**
# 不需要验证授权, 或该请求有自己的验证机制
web.url.auth.excluded = /favicon.ico,/static/**,/open/**,/api,/login.htm
web.url.auth.excluded = /favicon.ico,/static/**,/api,/login.htm
# 默认的登录URL
web.url.login = /login.htm
# 日志配置

@ -80,6 +80,7 @@
</style>
</head>
<body>
<#include Layout.setControl("mint-ui-extend")/>
<div id="app">
<transition :name="transitionName">
<router-view></router-view>

Loading…
Cancel
Save

Powered by TurnKey Linux.