mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 06:51:15 +08:00
21 lines
510 B
JSON
21 lines
510 B
JSON
{
|
||
"schema": {
|
||
"bsonType": "object",
|
||
"required": ["_id", "value"],
|
||
"properties": {
|
||
"_id": {
|
||
"bsonType": "string",
|
||
"description": "key,格式:uni-id:[provider]:[appid]:[openid]:[access-token|user-access-token|session-key|encrypt-key-version|ticket]"
|
||
},
|
||
"value": {
|
||
"bsonType": "object",
|
||
"description": "字段_id对应的值"
|
||
},
|
||
"expired": {
|
||
"bsonType": "timestamp",
|
||
"description": "过期时间"
|
||
}
|
||
}
|
||
}
|
||
}
|