解决swagger的api不能访问的bug

This commit is contained in:
季圣华
2021-05-06 21:42:08 +08:00
parent 30e5136c4d
commit 2548874883
2 changed files with 4 additions and 3 deletions

View File

@@ -21,7 +21,8 @@ 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("启动成功,后端服务API地址http://" + ComputerInfo.getIpAddr() + ":"
+ environment.getProperty("server.port") + "/jshERP-boot/doc.html");
System.out.println("您还需启动前端服务启动命令yarn run serve 或 npm run serve测试用户jsh密码123456");
}
}