Bläddra i källkod

加入普通上传 2

wuweihao 3 år sedan
förälder
incheckning
23424790c1

+ 3 - 3
720yun_local_manage/gis_pano/src/main/java/com/gis/cms/controller/WorkController.java

@@ -74,14 +74,14 @@ public class WorkController  {
 //    }
 
 
-    @ApiOperation(value = "上传-文件(文件估计命名)", notes = "上传资料会放到场景码的跟目录, 文件固定命名, 场景码:必传")
+    @ApiOperation(value = "上传-文件(文件固定命名)", notes = "上传资料会放到场景码的跟目录, 文件固定命名, 场景码:必传")
     @PostMapping(value = "uploadFix/{sceneCode}")
     public Result uploadFix(@RequestParam("file") MultipartFile file, @PathVariable String sceneCode) {
         return workService.uploadFix(file, sceneCode);
     }
 
-    @ApiOperation(value = "普通上传-文件(后端时间戳命名)", notes = "场景码:必传")
-    @PostMapping(value = "uploadFix/{sceneCode}")
+    @ApiOperation(value = "普通上传-文件(后端时间戳命名)", notes = "场景码:必传")
+    @PostMapping(value = "upload/{sceneCode}")
     public Result upload(@RequestParam("file") MultipartFile file, @PathVariable String sceneCode) {
         return workService.upload(file, sceneCode);
     }