Commit 40efa2d4 by 18356073052

素材列表添加视频封面

1 parent bcd9207d
......@@ -46,4 +46,9 @@ public class WeChatSideVo {
@JsonFormat(pattern = "yyyy-MM-dd")
private Date createTime;
/**
* 封面地址
*/
private String coverUrl;
}
......@@ -30,7 +30,8 @@
wm.material_url,
wm.content,
wc.media_type,
wcc.create_time
wcc.create_time,
wm.cover_url
FROM
we_chat_collection wcc
LEFT JOIN we_material wm ON wcc.material_id = wm.id
......
......@@ -28,6 +28,7 @@
wm.material_url,
wm.content,
wc.media_type,
wm.cover_url,
(
SELECT
COUNT(1)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!