feat(消息): 添加回复ID字段支持消息回复功能
在Message和MessageDto中添加replyid字段,支持消息回复功能 添加删除所有评论的API端点 重构消息控制器方法顺序 ``` ```msg feat(文章): 实现文章浏览量增加功能 添加incrementViewCount方法用于增加文章浏览量 在文章实体中添加likes字段记录点赞数 更新API文档说明新增字段 ``` ```msg chore: 移除数据初始化类 注释掉CategoryDataInit和MessageDataInit类 这些初始化功能将由其他方式实现
This commit is contained in:
@@ -14,10 +14,18 @@ public class MessageDto {
|
||||
private Date createdAt;
|
||||
|
||||
private Integer parentid;
|
||||
|
||||
private Integer replyid;
|
||||
|
||||
private Integer articleid;
|
||||
|
||||
public Integer getReplyid() {
|
||||
return replyid;
|
||||
}
|
||||
|
||||
public void setReplyid(Integer replyid) {
|
||||
this.replyid = replyid;
|
||||
}
|
||||
public Integer getMessageid() {
|
||||
return messageid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user