Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Springboot Plus
Commits
2def780c
"git@ustchcs.com:gujinli1118/eladmin.git" did not exist on "8cb96509a0d29882be906240f7b21f93baf644c5"
Commit
2def780c
authored
Mar 02, 2018
by
李家智
Browse files
tomcat deploy support and context path
parent
cf2a3d11
Changes
4
Hide whitespace changes
Inline
Side-by-side
admin-console/pom.xml
View file @
2def780c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin-console
</artifactId>
<artifactId>
admin-console
</artifactId>
<version>
1.0
</version>
<version>
1.0
</version>
<packaging>
w
ar
</packaging>
<packaging>
j
ar
</packaging>
<parent>
<parent>
<groupId>
com.ibeetl
</groupId>
<groupId>
com.ibeetl
</groupId>
<artifactId>
admin
</artifactId>
<artifactId>
admin
</artifactId>
...
...
admin-console/src/main/resources/application.properties
View file @
2def780c
...
@@ -5,7 +5,7 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
...
@@ -5,7 +5,7 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url= jdbc:oracle:thin:@127.0.0.1:1521:orcl
#spring.datasource.url= jdbc:oracle:thin:@127.0.0.1:1521:orcl
#spring.datasource.username=starter2
#spring.datasource.username=starter2
#spring.datasource.password=starter2
#spring.datasource.password=starter2
server.servlet.context-path
=
/admin-console
#
server.servlet.context-path=/admin-console
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
user.id
=
1
user.id
=
1
user.orgId
=
1
user.orgId
=
1
...
...
admin-core/src/main/resources/templates/common/layout.html
View file @
2def780c
...
@@ -28,9 +28,9 @@
...
@@ -28,9 +28,9 @@
Common
.
ctxPath
=
'
${ctxPath}
'
;
Common
.
ctxPath
=
'
${ctxPath}
'
;
Common
.
version
=
'
${jsVer}
'
;
Common
.
version
=
'
${jsVer}
'
;
//设定layui模块的版本
//设定layui模块的版本
,1234
layui
.
config
({
layui
.
config
({
base
:
"
${
ctxPath
}/
${jsBase!}
"
,
base
:
Common
.
ctxPath
+
"
${jsBase!}
"
,
version
:
Common
.
version
version
:
Common
.
version
});
});
$
(
document
).
ready
(
function
()
{
}).
keydown
(
$
(
document
).
ready
(
function
()
{
}).
keydown
(
...
...
admin-core/src/main/resources/templates/index.html
View file @
2def780c
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<a
href=
"javascript:;"
>
${subSystem.data.name}
</a>
<a
href=
"javascript:;"
>
${subSystem.data.name}
</a>
<dl
class=
"layui-nav-child"
>
<dl
class=
"layui-nav-child"
>
<!--#for(menu in subSystem.children){ -->
<!--#for(menu in subSystem.children){ -->
<dd
class=
""
><a
href=
"javascript:;"
menuId=
"${menu.data.id}"
dataUrl=
"${ctxPath}
/
${menu.data.accessUrl}"
><i
class=
"layui-icon"
>

</i>
<dd
class=
""
><a
href=
"javascript:;"
menuId=
"${menu.data.id}"
dataUrl=
"${ctxPath
=='/'?''
}${menu.data.accessUrl}"
><i
class=
"layui-icon"
>

</i>
${menu.data.name}
${menu.data.name}
</a></dd>
</a></dd>
<!--#} -->
<!--#} -->
...
...
Write
Preview
Supports
Markdown
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