This commit is contained in:
parent
6a77ed9366
commit
8fa5dbd92f
2
pom.xml
2
pom.xml
|
|
@ -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;
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
return "";
|
||||
|
|
|
|||
Loading…
Reference in New Issue