feat(content): 列表卡片与后台返回收藏点赞评论数
This commit is contained in:
1 parent
f90336963b
commit
256821b824
13 files changed
+324
-50
No files matched your search
+2
@@ -325,6 +325,8 @@ public class DramaService {
|
||||
vo.setStatus(drama.getStatus());
|
||||
vo.setStatusText(ContentStatus.textOf(drama.getStatus()));
|
||||
vo.setViews(drama.getViewCount());
|
||||
vo.setLikeCount(drama.getLikeCount());
|
||||
vo.setFavoriteCount(drama.getFavoriteCount());
|
||||
vo.setSort(drama.getSort());
|
||||
vo.setPublishAt(drama.getPublishedAt());
|
||||
vo.setCreatedAt(drama.getCreatedAt());
|
||||
|
||||
@@ -32,6 +32,9 @@ public class DramaRespVO {
|
||||
private String status;
|
||||
private String statusText;
|
||||
private Long views;
|
||||
private Long likeCount;
|
||||
private Long favoriteCount;
|
||||
private Long commentCount;
|
||||
private Integer sort;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
Reference in new issue
Block a user