修改
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<artifactId>ifishSystem</artifactId>
|
<artifactId>ifishSystem</artifactId>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<name>ifish Maven Webapp</name>
|
<name>ifishSystem</name>
|
||||||
<url>http://mvnrepository.com</url>
|
<url>http://mvnrepository.com</url>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
|
|||||||
@@ -135,12 +135,8 @@ public class FastDFSClient implements FastDFSClientI {
|
|||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
//本地返回测试环境fastfds,线上返回正式服务器部署的fastfds
|
|
||||||
if (ValidateUtil.IsWinOrUnix()) {
|
|
||||||
return IfishFileDirectory.fastDFS_url_local + url;
|
|
||||||
} else {
|
|
||||||
return IfishFileDirectory.fastDFS_url_app + url;
|
return IfishFileDirectory.fastDFS_url_app + url;
|
||||||
}
|
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
Reference in New Issue
Block a user