Commit be3f42c1 authored by 季圣华's avatar 季圣华
Browse files

优化启动完成之后的提示

parent 06d73afa
......@@ -21,7 +21,7 @@ public class ErpApplication{
public static void main(String[] args) throws IOException {
ConfigurableApplicationContext context = SpringApplication.run(ErpApplication.class, args);
Environment environment = context.getBean(Environment.class);
System.out.println("启动成功,访问地址:http://" + ComputerInfo.getIpAddr() + ":"
+ environment.getProperty("server.port") + ",测试用户:jsh,密码:123456");
System.out.println("启动成功,后端服务地址:http://" + ComputerInfo.getIpAddr() + ":"
+ environment.getProperty("server.port") + ",您还需启动前端服务,测试用户:jsh,密码:123456");
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment