mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 11:33:01 +08:00
add: opendb-open-data
This commit is contained in:
parent
c9be2fe0a7
commit
18d5fb39c5
20
collection/opendb-open-data/collection.json
Normal file
20
collection/opendb-open-data/collection.json
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"schema": {
|
||||||
|
"bsonType": "object",
|
||||||
|
"required": ["_id", "value"],
|
||||||
|
"properties": {
|
||||||
|
"_id": {
|
||||||
|
"bsonType": "string",
|
||||||
|
"description": "key,格式:uni-id:[dcloudAppid]:[platform]:[openid]:[access-token|user-access-token|session-key|encrypt-key-version|ticket]"
|
||||||
|
},
|
||||||
|
"value": {
|
||||||
|
"bsonType": "object",
|
||||||
|
"description": "字段_id对应的值"
|
||||||
|
},
|
||||||
|
"expired": {
|
||||||
|
"bsonType": "date",
|
||||||
|
"description": "过期时间"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
17
collection/opendb-open-data/package.json
Normal file
17
collection/opendb-open-data/package.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"name": "@opendb/opendb-open-data",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"description": "opendb-open-data",
|
||||||
|
"keywords": ["三方平台凭据"],
|
||||||
|
"opendb": {
|
||||||
|
"title": "三方平台凭据",
|
||||||
|
"type": "collection",
|
||||||
|
"contributors": [
|
||||||
|
{
|
||||||
|
"name": "DCloud",
|
||||||
|
"email": "",
|
||||||
|
"homepage": "https://gitee.com/dcloud/opendb"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user