Commit 4ccbc181 by 18356073052

素材列表添加视频封面

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