This commit is contained in:
谢洪龙 2017-07-21 14:40:18 +08:00
parent 6a77ed9366
commit 8fa5dbd92f
2 changed files with 3 additions and 7 deletions

View File

@ -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>

View File

@ -135,12 +135,8 @@ public class FastDFSClient implements FastDFSClientI {
} else { } else {
return ""; return "";
} }
//本地返回测试环境fastfds,线上返回正式服务器部署的fastfds
if (ValidateUtil.IsWinOrUnix()) { return IfishFileDirectory.fastDFS_url_app + url;
return IfishFileDirectory.fastDFS_url_local + url;
} else {
return IfishFileDirectory.fastDFS_url_app + url;
}
} catch (Exception e) { } catch (Exception e) {
return ""; return "";