浏览代码

修改企业logo文件夹

limin 7 年之前
父节点
当前提交
d10340f702
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/goafanti/common/utils/FileUtils.java

+ 2 - 2
src/main/java/com/goafanti/common/utils/FileUtils.java

@@ -112,13 +112,13 @@ public class FileUtils {
 		}
 		return fileName;
 	}
+	
 	public static String mosaicFileName( String fn, boolean isPrivate, String path, String uid) {
-
 		String fileName = "";
 		if (isPrivate) {
 			fileName = path + uid + "/" + fn;
 		} else {
-			fileName = path + uid + "/" + System.nanoTime()  + fn ;
+			fileName = path + uid + "/" + "logo"  + fn ;
 		}
 		return fileName;
 	}