Bladeren bron

修改企业logo文件夹

limin 7 jaren geleden
bovenliggende
commit
d10340f702
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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;
 	}