增加文件上传功能

This commit is contained in:
暮光:城中城
2018-12-26 22:34:20 +08:00
parent b7c72cf38b
commit 09d077cb07
9 changed files with 219 additions and 105 deletions

View File

@@ -34,16 +34,11 @@ public class Application extends SpringBootServletInitializer {
String hostAddress = InetAddress.getLocalHost().getHostAddress();
String serverPort = env.getProperty("server.port");
String urlCtx = hostAddress + ":" + serverPort + "/" + contextPath;
// 三个UI的名字长度惊人的一致肯定是知道我有强迫症
logger.info("\n----------------------------------------------------------\n\t" +
"\t\t地址列表\n\t" +
"zyplayer-doc-swaggerhttp://{}document.html\n\t" +
"swagger-bootstrap-uihttp://{}doc.html\n\t" +
"springfox-swagger-uihttp://{}swagger-ui.html\n\t" +
"数据库文档管理地址http://{}doc-db.html\n\t" +
"管理地址http://{}statics/manage/home.html\n" +
"----------------------------------------------------------",
urlCtx, urlCtx, urlCtx, urlCtx, urlCtx
urlCtx
);
}
}