Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
9bc60f6b
Commit
9bc60f6b
authored
Mar 29, 2019
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页改为控制台页面
parent
528db9bb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
4 deletions
+26
-4
src/main/java/cn/stylefeng/guns/modular/system/controller/SystemController.java
+24
-2
src/main/webapp/pages/index.html
+1
-1
src/main/webapp/pages/modular/frame/console.html
+0
-0
src/main/webapp/pages/modular/frame/console2.html
+0
-0
src/main/webapp/pages/modular/frame/user_info.html
+1
-1
No files found.
src/main/java/cn/stylefeng/guns/modular/system/controller/SystemController.java
View file @
9bc60f6b
...
...
@@ -74,13 +74,35 @@ public class SystemController extends BaseController {
private
GunsProperties
gunsProperties
;
/**
* 控制台页面
*
* @author fengshuonan
* @Date 2018/12/24 22:43
*/
@RequestMapping
(
"/console"
)
public
String
console
()
{
return
"/modular/frame/console.html"
;
}
/**
* 分析页面
*
* @author fengshuonan
* @Date 2018/12/24 22:43
*/
@RequestMapping
(
"/console2"
)
public
String
console2
()
{
return
"/modular/frame/console2.html"
;
}
/**
* 主页面
*
* @author fengshuonan
* @Date 2019/1/24 3:38 PM
*/
@RequestMapping
(
"/welcome"
)
public
String
consol
e
()
{
public
String
welcom
e
()
{
return
"/modular/frame/welcome.html"
;
}
...
...
@@ -272,7 +294,7 @@ public class SystemController extends BaseController {
HashMap
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"fileId"
,
IdWorker
.
getIdStr
());
return
ResponseData
.
success
(
0
,
"上传成功"
,
map
);
return
ResponseData
.
success
(
0
,
"上传成功"
,
map
);
}
...
...
src/main/webapp/pages/index.html
View file @
9bc60f6b
...
...
@@ -56,7 +56,7 @@
// 默认加载主页
index
.
loadHome
({
menuPath
:
'${ctxPath}/system/
welcom
e'
,
menuPath
:
'${ctxPath}/system/
consol
e'
,
menuName
:
'<i class="layui-icon layui-icon-home"></i>'
});
...
...
src/main/webapp/pages/modular/frame/console.html
0 → 100755
View file @
9bc60f6b
This diff is collapsed.
Click to expand it.
src/main/webapp/pages/modular/frame/console2.html
0 → 100755
View file @
9bc60f6b
This diff is collapsed.
Click to expand it.
src/main/webapp/pages/modular/frame/user_info.html
View file @
9bc60f6b
...
...
@@ -2,7 +2,7 @@
<div
class=
"layui-body-header"
>
<span
class=
"layui-body-header-title"
>
个人中心
</span>
<span
class=
"layui-breadcrumb pull-right"
>
<a
href=
"${ctxPath}/system/
welcom
e"
>
首页
</a>
<a
href=
"${ctxPath}/system/
consol
e"
>
首页
</a>
<a><cite>
个人中心
</cite></a>
</span>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment