Bläddra i källkod

文件接口路劲统一

linfutong 3 år sedan
förälder
incheckning
60f2bc3f98

+ 1 - 1
zd-modules/zd-base/src/main/java/com/zd/base/files/bigupload/controller/UploadController.java

@@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.*;
  * @Version 1.0
  **/
 @RestController
-@RequestMapping("/upload")
+@RequestMapping("/file/upload")
 public class UploadController {
 
     @Autowired

+ 2 - 0
zd-modules/zd-base/src/main/java/com/zd/base/files/file/controller/SysFileController.java

@@ -8,6 +8,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.multipart.MultipartFile;
 
@@ -17,6 +18,7 @@ import org.springframework.web.multipart.MultipartFile;
  * @author zd
  */
 @RestController
+@RequestMapping("/file")
 public class SysFileController {
     private static final Logger log = LoggerFactory.getLogger(SysFileController.class);