From ce6d43f95d97b2670188d3a76036d76846d7eda4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=B4=AA=E9=BE=99?= <599179587@qq.com> Date: Mon, 17 Jul 2017 09:34:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ifish/helper/FastDFSClient.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/ifish/helper/FastDFSClient.java b/src/main/java/com/ifish/helper/FastDFSClient.java index 7c29b61..2a2bb1d 100644 --- a/src/main/java/com/ifish/helper/FastDFSClient.java +++ b/src/main/java/com/ifish/helper/FastDFSClient.java @@ -155,12 +155,8 @@ public class FastDFSClient implements FastDFSClientI { } else { return ""; } - //本地返回测试环境fastfds,线上返回正式服务器部署的fastfds - if (ValidateUtil.IsWinOrUnix()) { - return IfishFilePath.fastDFS_url_app + url; - } else { - return IfishFilePath.link_img_head + url; - } + + return IfishFilePath.link_img_head + url; } catch (Exception e) { return "";