Commit bdba1916 authored by guwd's avatar guwd

修复litpic

parent 57d66f87
...@@ -391,14 +391,6 @@ private static final long serialVersionUID = 1574925152750L; ...@@ -391,14 +391,6 @@ private static final long serialVersionUID = 1574925152750L;
* 获取栏目图片 (标签使用) * 获取栏目图片 (标签使用)
*/ */
public String getTypelitpic() { public String getTypelitpic() {
if(StrUtil.isNotBlank(categoryImg)){ return categoryImg;
try{
JSONArray objects = JSON.parseArray(categoryImg);
return objects.getJSONObject(0).getString("path");
}catch (Exception e){
}
}
return "";
} }
} }
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