修复litpic
This commit is contained in:
parent
57d66f8701
commit
bdba1916a9
|
@ -391,14 +391,6 @@ private static final long serialVersionUID = 1574925152750L;
|
|||
* 获取栏目图片 (标签使用)
|
||||
*/
|
||||
public String getTypelitpic() {
|
||||
if(StrUtil.isNotBlank(categoryImg)){
|
||||
try{
|
||||
JSONArray objects = JSON.parseArray(categoryImg);
|
||||
return objects.getJSONObject(0).getString("path");
|
||||
}catch (Exception e){
|
||||
|
||||
}
|
||||
}
|
||||
return "";
|
||||
return categoryImg;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue