Explorar o código

修改企业logo文件夹

limin %!s(int64=7) %!d(string=hai) anos
pai
achega
d10340f702
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;
 	}