feat(文章/疯言疯语): 添加状态管理功能
实现文章和疯言疯语内容的状态管理,支持按状态查询和更新 允许公开访问文章查看接口 完善相关文档和日志记录
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user