修改手机端PC端接口分离
This commit is contained in:
+5
-3
@@ -557,9 +557,11 @@ public class ProblemKnowledgeBaseEOServiceImpl extends ServiceImpl<ProblemKnowle
|
|||||||
if(sysConfig.getConfigName().equals("domainWebImgURL")){
|
if(sysConfig.getConfigName().equals("domainWebImgURL")){
|
||||||
String pcUrl = sysConfig.getConfig();
|
String pcUrl = sysConfig.getConfig();
|
||||||
String phoneUrl = sysConfig.getPhoneConfig();
|
String phoneUrl = sysConfig.getPhoneConfig();
|
||||||
String content = problemKnowledgeBaseEO.getContent().replace(pcUrl,phoneUrl);
|
if(ObjectUtils.isNotEmpty(problemKnowledgeBaseEO) && StringUtils.isNotBlank(problemKnowledgeBaseEO.getContent())){
|
||||||
content = content.replace("jero-boot/","jero-boot/phone/");
|
String content = problemKnowledgeBaseEO.getContent().replace(pcUrl,phoneUrl);
|
||||||
problemKnowledgeBaseEO.setContent(content);
|
content = content.replace("jero-boot/","jero-boot/phone/");
|
||||||
|
problemKnowledgeBaseEO.setContent(content);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user