配置修改

This commit is contained in:
谢洪龙 2017-07-17 09:34:14 +08:00
parent 6e08af9959
commit ce6d43f95d
1 changed files with 2 additions and 6 deletions

View File

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