This commit is contained in:
parent
6a77ed9366
commit
8fa5dbd92f
2
pom.xml
2
pom.xml
|
|
@ -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 "";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue