mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 23:09:40 +08:00
add:添加管理员、团队成员
This commit is contained in:
parent
6c112d326c
commit
9f7ea7bd7d
@ -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": "应用当前归属者的id,user_id or enterprise_id"
|
||||||
|
},
|
||||||
|
"managers":{
|
||||||
|
"bsonType":"array",
|
||||||
|
"description":"应用管理员ID列表"
|
||||||
|
},
|
||||||
|
"members":{
|
||||||
|
"bsonType":"array",
|
||||||
|
"description":"团队成员ID列表"
|
||||||
},
|
},
|
||||||
"create_date": {
|
"create_date": {
|
||||||
"bsonType": "timestamp",
|
"bsonType": "timestamp",
|
||||||
|
Loading…
Reference in New Issue
Block a user