配置修改
This commit is contained in:
parent
6e08af9959
commit
ce6d43f95d
|
|
@ -155,12 +155,8 @@ public class FastDFSClient implements FastDFSClientI {
|
||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
//本地返回测试环境fastfds,线上返回正式服务器部署的fastfds
|
|
||||||
if (ValidateUtil.IsWinOrUnix()) {
|
return IfishFilePath.link_img_head + url;
|
||||||
return IfishFilePath.fastDFS_url_app + url;
|
|
||||||
} else {
|
|
||||||
return IfishFilePath.link_img_head + url;
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
return "";
|
return "";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue