优化启动完成之后的提示
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user