|
@@ -404,12 +404,12 @@ public class FileUtils {
|
|
|
if(fileUrl.indexOf("/www/wwwroot")>=0){
|
|
|
file_path2 = file_path;
|
|
|
}
|
|
|
- File file = new File(fileUrl);
|
|
|
-
|
|
|
- if(file.exists()){
|
|
|
- //存在
|
|
|
- return fileUrl;
|
|
|
- }
|
|
|
+// File file = new File(fileUrl);
|
|
|
+//
|
|
|
+// if(file.exists()){
|
|
|
+// //存在
|
|
|
+// return fileUrl;
|
|
|
+// }
|
|
|
String path = sys_file_net_url + fileUrl.replaceAll("//", "/").replaceAll(file_path2, "");
|
|
|
return path;
|
|
|
}
|