Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-shopmall-parent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 03f44ddd
authored
Apr 18, 2023
by
刘宇峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
文档路径修改
1 parent
8ca724f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
platform-shopmall/src/main/java/cn/com/glsx/Application.java
platform-shopmall/src/main/java/cn/com/glsx/Application.java
View file @
03f44dd
...
...
@@ -34,12 +34,12 @@ public class Application {
Environment
env
=
application
.
getEnvironment
();
String
applicationName
=
env
.
getProperty
(
"spring.application.name"
);
String
port
=
env
.
getProperty
(
"server.port"
);
String
contextPath
=
env
.
getProperty
(
"server.servlet.context-path"
,
""
);
String
contextPath
=
env
.
getProperty
(
"server.servlet.context-path"
,
"
/
"
);
log
.
info
(
"\n----------------------------------------------------------\n\t"
+
"Application '{}' is running! Access URLs:\n\t"
+
"Local: \t\thttp://localhost:{}{}\n\t"
+
"External: \thttp://{}:{}{}\n\t"
+
"Doc: \thttp://{}:{}{}
/
doc.html\n"
+
"Doc: \thttp://{}:{}{}doc.html\n"
+
"----------------------------------------------------------"
,
applicationName
,
port
,
contextPath
,
InetAddress
.
getLocalHost
().
getHostAddress
(),
port
,
contextPath
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment