remove collection uni-verify,已被opendb-verify-codes替代

This commit is contained in:
handongxun 2020-11-16 11:00:39 +08:00
parent 34763d55f0
commit c2a43e1b7a
2 changed files with 0 additions and 85 deletions

View File

@ -1,68 +0,0 @@
{
"schema": {
"bsonType": "object",
"required": [],
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"mobile": {
"bsonType": "string",
"description": "手机号码"
},
"email": {
"bsonType": "string",
"description": "邮箱"
},
"code": {
"bsonType": "string",
"description": "验证码"
},
"type": {
"bsonType": "string",
"description": "验证类型login, bind, unbind, pay"
},
"state": {
"bsonType": "int",
"description": "验证状态0 未验证、1 已验证、2 已作废"
},
"ip": {
"bsonType": "string",
"description": "请求时客户端IP地址"
},
"created_at": {
"bsonType": "timestamp",
"description": "创建时间"
},
"expired_at": {
"bsonType": "timestamp",
"description": "过期时间"
}
}
},
"index": [{
"IndexName": "mobile_code_",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "mobile",
"Direction": "1"
}, {
"Name": "code",
"Direction": "1"
}],
"MgoIsUnique": false
}
}, {
"IndexName": "email_code_",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "email",
"Direction": "1"
}, {
"Name": "code",
"Direction": "1"
}],
"MgoIsUnique": false
}
}]
}

View File

@ -1,17 +0,0 @@
{
"name": "@opendb/uni-verify",
"version": "0.0.1",
"description": "uni-verify 验证码",
"keywords": ["验证码"],
"opendb": {
"title": "验证码",
"type": "collection",
"contributors": [
{
"name": "DCloud",
"email": "",
"homepage": "https://gitee.com/dcloud/opendb"
}
]
}
}