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
JSH ERP
Commits
be3f42c1
Commit
be3f42c1
authored
Apr 16, 2021
by
季圣华
Browse files
优化启动完成之后的提示
parent
06d73afa
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/ErpApplication.java
View file @
be3f42c1
...
@@ -21,7 +21,7 @@ public class ErpApplication{
...
@@ -21,7 +21,7 @@ public class ErpApplication{
public
static
void
main
(
String
[]
args
)
throws
IOException
{
public
static
void
main
(
String
[]
args
)
throws
IOException
{
ConfigurableApplicationContext
context
=
SpringApplication
.
run
(
ErpApplication
.
class
,
args
);
ConfigurableApplicationContext
context
=
SpringApplication
.
run
(
ErpApplication
.
class
,
args
);
Environment
environment
=
context
.
getBean
(
Environment
.
class
);
Environment
environment
=
context
.
getBean
(
Environment
.
class
);
System
.
out
.
println
(
"启动成功,
访问
地址:http://"
+
ComputerInfo
.
getIpAddr
()
+
":"
System
.
out
.
println
(
"启动成功,
后端服务
地址:http://"
+
ComputerInfo
.
getIpAddr
()
+
":"
+
environment
.
getProperty
(
"server.port"
)
+
",测试用户:jsh,密码:123456"
);
+
environment
.
getProperty
(
"server.port"
)
+
",
您还需启动前端服务,
测试用户:jsh,密码:123456"
);
}
}
}
}
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