Commit 6f021588 by 陶光胜

二维码

parent 993d88e5
......@@ -126,7 +126,7 @@ public class CustomGuideApiServiceImpl implements CustomGuideApiService {
TabCustomGuide guide = guideList.get(i);
String title = guide.getTitle();
Map<String, Object> listMap = new HashMap<String, Object>();
if(StringUtils.isBlank(guide.getIcon()) || "{}".equals(guide.getIcon())){
if(StringUtils.isNotBlank(guide.getIcon()) && !"{}".equals(guide.getIcon())){
JSONObject jsonObject = JSON.parseObject(guide.getIcon());
if(jsonObject != null){
selectIconPath = iconPath + jsonObject.getString("type")+ jsonObject.getString("name")+"-active.png";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment