|
@@ -131,6 +131,7 @@ public class FileStoreUtil {
|
|
|
* @return 类型
|
|
|
*/
|
|
|
public UploadFileEnum getUploadEnumByPath(String path){
|
|
|
+ path = path.replaceAll("\\\\","/");
|
|
|
String target = path.substring(0,path.indexOf('/'));
|
|
|
return UploadFileEnum.valueOf(target.toUpperCase());
|
|
|
}
|