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

更新 group新增字段ext

上级 bf753efc
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"required": ["name","join_option"], "required": ["name","join_option"],
"permission": { "permission": {
"read": true, "read": true,
"create": false, "create": false, // 禁止前端调用,仅触发器内可用
"update": true, // 触发器内再处理 "update": true, // 触发器内再处理
"delete": "auth.uid == doc.user_id" "delete": "auth.uid == doc.user_id"
}, },
...@@ -19,10 +19,7 @@ ...@@ -19,10 +19,7 @@
}, },
"user_id":{ "user_id":{
"bsonType": "string", "bsonType": "string",
"description": "群主id", "description": "群主id"
"forceDefaultValue":{
"$env":"uid"
}
}, },
"name":{ "name":{
"bsonType": "string", "bsonType": "string",
...@@ -81,6 +78,10 @@ ...@@ -81,6 +78,10 @@
"bsonType": "bool", "bsonType": "bool",
"description": "全群成员禁言", "description": "全群成员禁言",
"defaultValue":false "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.
先完成此消息的编辑!
想要评论请 注册