src/main/java/cc/mrbird/febs/video/controller/CommonController.java | ●●●●● patch | view | raw | blame | history | |
src/main/resources/application-dev.yml | ●●●●● patch | view | raw | blame | history | |
src/main/resources/application-test.yml | ●●●●● patch | view | raw | blame | history |
src/main/java/cc/mrbird/febs/video/controller/CommonController.java
@@ -38,10 +38,10 @@ @RequestMapping(value = "/upload") public FebsResponse upload(MultipartRequest request) throws IOException { // 保存路径 /Users/helius/Desktop/ baseSavePath = "/Users/helius/Desktop/"; // baseSavePath = "/Users/helius/Desktop/"; // 访问路径 baseUrl = "http://localhost:1234/"; // baseUrl = "http://localhost:1234/"; List<String> visitPathes = updateImg(request); return new FebsResponse().success().data(visitPathes); } src/main/resources/application-dev.yml
@@ -50,5 +50,5 @@ system: images: path: 123 url: 123 path: /home/javaweb/webresource/video/ url: http://120.27.238.55:8000/video/ src/main/resources/application-test.yml
@@ -50,5 +50,5 @@ system: images: path: 123 url: 123 path: /home/javaweb/webresource/video/ url: http://120.27.238.55:8000/video/