mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 15:01:15 +08:00
feat: uni-id-users 增加三方平台身份信息字段(identities)
This commit is contained in:
parent
f0b21acd2f
commit
181561be1a
@ -441,6 +441,14 @@
|
|||||||
"my_invite_code": {
|
"my_invite_code": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "用户自身邀请码"
|
"description": "用户自身邀请码"
|
||||||
|
},
|
||||||
|
"identities": {
|
||||||
|
"bsonType": "array",
|
||||||
|
"description": "三方平台身份信息;一个对象代表一个身份,参数支持: provider 身份源, userInfo 三方用户信息, openid 三方openid, unionid 三方unionid, uid 三方uid",
|
||||||
|
"permission": {
|
||||||
|
"read": "'READ_UNI_ID_USERS' in auth.permission",
|
||||||
|
"write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@opendb/uni-id-users",
|
"name": "@opendb/uni-id-users",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "uni-id-users",
|
"description": "uni-id-users",
|
||||||
"keywords": ["uni-id", "用户管理", "登录", "注册"],
|
"keywords": ["uni-id", "用户管理", "登录", "注册"],
|
||||||
"opendb": {
|
"opendb": {
|
||||||
|
Loading…
Reference in New Issue
Block a user