修复litpic

This commit is contained in:
guwd 2020-11-25 09:22:30 +08:00
parent 57d66f8701
commit bdba1916a9
1 changed files with 1 additions and 9 deletions

View File

@ -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;
}
}