提交 272975f7 authored 作者: Whispa's avatar Whispa

commit

上级 9309a859
...@@ -77,6 +77,9 @@ public class Content extends Model { ...@@ -77,6 +77,9 @@ public class Content extends Model {
HashMap<String, Object> map = new HashMap<>(); HashMap<String, Object> map = new HashMap<>();
map.put("content",getContent()); map.put("content",getContent());
map.put("image",isImage); map.put("image",isImage);
if( !isImage() ){
map.put("thumbnail",thumbnail);
}
return map; return map;
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论