소스 검색

更新 上传文件返回值 为filePath

wuweihao 3 년 전
부모
커밋
569da21fa3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      720yun_local_manage/gis_common/src/main/java/com/gis/common/util/FileUtils.java

+ 1 - 1
720yun_local_manage/gis_common/src/main/java/com/gis/common/util/FileUtils.java

@@ -95,7 +95,7 @@ public class FileUtils {
         String newName = this.upload(file, savePath, isPinYinRename);
         HashMap<String, Object> result = new HashMap<>();
         result.put("fileName", file.getOriginalFilename());
-        result.put("urlPath", savePath + "/" + newName);
+        result.put("filePath", savePath + "/" + newName);
         return result;
 
     }