Prechádzať zdrojové kódy

更新 上传文件返回值 为filePath

wuweihao 3 rokov pred
rodič
commit
569da21fa3

+ 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;
 
     }