Commit f0285879 authored by 陈家荣's avatar 陈家荣

添加了status 字段

parent 4b5bd228
...@@ -50,6 +50,11 @@ var ForumCommentSchema = new Schema({ ...@@ -50,6 +50,11 @@ var ForumCommentSchema = new Schema({
require: true, require: true,
default: 0 default: 0
}, },
status: { //文章状态,1启用,0禁用,2需审核
type: Number,
require: true,
default: 1
},
created: { //评论时间 created: { //评论时间
type: Date, type: Date,
require: true, require: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment