From c2a43e1b7ae66ab76014b9784fd192d8ba71d7f9 Mon Sep 17 00:00:00 2001 From: handongxun Date: Mon, 16 Nov 2020 11:00:39 +0800 Subject: [PATCH] =?UTF-8?q?remove=20collection=20uni-verify,=E5=B7=B2?= =?UTF-8?q?=E8=A2=ABopendb-verify-codes=E6=9B=BF=E4=BB=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collection/uni-verify/collection.json | 68 --------------------------- collection/uni-verify/package.json | 17 ------- 2 files changed, 85 deletions(-) delete mode 100644 collection/uni-verify/collection.json delete mode 100644 collection/uni-verify/package.json diff --git a/collection/uni-verify/collection.json b/collection/uni-verify/collection.json deleted file mode 100644 index 54669b7..0000000 --- a/collection/uni-verify/collection.json +++ /dev/null @@ -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 - } - }] -} diff --git a/collection/uni-verify/package.json b/collection/uni-verify/package.json deleted file mode 100644 index 706b007..0000000 --- a/collection/uni-verify/package.json +++ /dev/null @@ -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" - } - ] - } -}