feat(文章/疯言疯语): 添加状态管理功能

实现文章和疯言疯语内容的状态管理,支持按状态查询和更新
允许公开访问文章查看接口
完善相关文档和日志记录
This commit is contained in:
qingfeng1121
2025-11-08 11:16:14 +08:00
parent 5136a3a78b
commit d8c6c74de4
17 changed files with 277 additions and 9686 deletions

View File

@@ -7,6 +7,8 @@ public class NonsenseDto {
private String content;
private Integer status;//状态 0未发表 1已发表 2已删除
private Date time;
@@ -26,6 +28,14 @@ public class NonsenseDto {
this.content = content;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Date getTime() {
return time;
}