add:添加管理员、团队成员

This commit is contained in:
崔红保 2022-05-07 18:12:49 +08:00
parent 6c112d326c
commit 9f7ea7bd7d

View File

@ -52,16 +52,24 @@
} }
}, },
"creator_uid": { "creator_uid": {
"description": "创建者的user_id创建者必然是用户", "description": "创建者的user_id创建者必然是用户,不随应用转让而改变",
"bsonType": "string" "bsonType": "string"
}, },
"owner_type": { "owner_type": {
"bsonType": "int", "bsonType": "int",
"description": "当前应用归属者类型1个人2企业" "description": "应用当前归属者类型1个人2企业"
}, },
"owner_id": { "owner_id": {
"description": "当前应用归属者的id所有者可能是个人也可以能是公司", "bsonType": "string",
"bsonType": "string" "description": "应用当前归属者的iduser_id or enterprise_id"
},
"managers":{
"bsonType":"array",
"description":"应用管理员ID列表"
},
"members":{
"bsonType":"array",
"description":"团队成员ID列表"
}, },
"create_date": { "create_date": {
"bsonType": "timestamp", "bsonType": "timestamp",