提交 080f34c0 编写于 作者: DCloud_JSON's avatar DCloud_JSON

更新 group新增字段ext

上级 bf753efc
......@@ -5,7 +5,7 @@
"required": ["name","join_option"],
"permission": {
"read": true,
"create": false,
"create": false, // 禁止前端调用,仅触发器内可用
"update": true, // 触发器内再处理
"delete": "auth.uid == doc.user_id"
},
......@@ -19,10 +19,7 @@
},
"user_id":{
"bsonType": "string",
"description": "群主id",
"forceDefaultValue":{
"$env":"uid"
}
"description": "群主id"
},
"name":{
"bsonType": "string",
......@@ -81,6 +78,10 @@
"bsonType": "bool",
"description": "全群成员禁言",
"defaultValue":false
},
"ext":{
"bsonType": "object",
"description": "自定义数据"
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册