修改
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<artifactId>ifishSystem</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>ifish Maven Webapp</name>
|
||||
<name>ifishSystem</name>
|
||||
<url>http://mvnrepository.com</url>
|
||||
<dependencies>
|
||||
|
||||
|
||||
@@ -135,12 +135,8 @@ public class FastDFSClient implements FastDFSClientI {
|
||||
} else {
|
||||
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) {
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user