From 68df63e02184c316337227c613e9441903f84a16 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期一, 07 六月 2021 16:19:56 +0800
Subject: [PATCH] 删除无用的包

---
 /dev/null |  559 -------------------------------------------------------
 1 files changed, 0 insertions(+), 559 deletions(-)

diff --git a/components/stzhang-tab/stzhang-tab.vue b/components/stzhang-tab/stzhang-tab.vue
deleted file mode 100644
index c1db666..0000000
--- a/components/stzhang-tab/stzhang-tab.vue
+++ /dev/null
@@ -1,92 +0,0 @@
-<template>
-	<view :class="{'my-tabs':true,'space-between':formatBe}">
-		<view  v-for="(item,index) in getModelData" :key="index" :class="{'tab-item':true,'active':activeIndex==index}" @tap="tap(index)">
-			{{item.label}}
-		</view>
-	</view>
-</template>
-
-<script>
-	export default {
-		props:['modelData','initIndex'],
-		data() {
-			return {
-				defaultInfo:{
-					data:[
-						{label:"娴嬭瘯",},
-						{label:"娴嬭瘯"},
-						{label:"娴嬭瘯"},
-					],
-				},
-				activeIndex:0,//榛樿绱㈠紩
-			}
-		},
-		computed:{
-			getModelData(){
-				return this.modelData||this.defaultInfo.data
-			},
-			formatBe(){
-				return this.modelData
-						?this.modelData.length>4?true:false
-						:false
-			}
-		},
-		methods: {
-			tap(index){
-				if(index!==this.activeIndex)this.$emit("change",index);
-				this.activeIndex=index;
-			},
-			/**
-			 * @name 鍒濆鍖朼ctiveIndex
-			 */
-			initActive(){
-				this.activeIndex=this.initIndex||this.activeIndex
-			}
-		},
-		created() {
-			this.initActive()
-		},
-	}
-</script>
-<style lang='scss'>
-	.my-tabs {
-		height: 88upx;
-		font-size: 28upx;
-		display: flex;
-		justify-content: space-around;
-		box-sizing: border-box;
-		border-top: 2upx solid #dddddd;
-		border-bottom: 2upx solid #dddddd;
-		min-width: 100%;
-		overflow-x: auto;
-		
-		.tab-item{
-			line-height: 48upx;
-			padding: 20upx;
-			min-width: 100upx;
-			text-align: center;
-		}
-		.tab-item.active{
-			position: relative;
-			color: #3682FF;
-		}
-		.tab-item.active::after{
-			content: "";
-			position: absolute;
-			bottom: 0;
-			left:50%;
-			transform: translateX(-50%);
-			width: 100%;
-			border-bottom: 4upx solid #3682FF;
-			animation: test ease 1 1.5s;
-		}
-	}
-	.my-tabs.space-between{
-		justify-content: space-between;
-	}
-	@keyframes test{
-		0%{width: 100%}
-		50%{width: 150%}
-		100%{width: 100%}
-	}
-</style>
diff --git a/static/stzhang-tab/stzhang-tab.png b/static/stzhang-tab/stzhang-tab.png
deleted file mode 100644
index 364c519..0000000
--- a/static/stzhang-tab/stzhang-tab.png
+++ /dev/null
Binary files differ
diff --git a/uniCloud-aliyun/cloudfunctions/user-center/index.js b/uniCloud-aliyun/cloudfunctions/user-center/index.js
deleted file mode 100644
index ca3288c..0000000
--- a/uniCloud-aliyun/cloudfunctions/user-center/index.js
+++ /dev/null
@@ -1,213 +0,0 @@
-'use strict';
-
-const uniID = require('uni-id')
-const uniCaptcha = require('uni-captcha')
-const db = uniCloud.database()
-const dbCmd = db.command
-
-exports.main = async (event, context) => {
-  const uniIDIns = uniID.createInstance({
-    context
-  })
-	let params = event.params || {}
-	
-	// 鐧诲綍璁板綍
-	const loginLog = async (res = {}, type = 'login') => {
-		const now = Date.now()
-		const uniIdLogCollection = db.collection('uni-id-log')
-		let logData = {
-			deviceId: params.deviceId || context.DEVICEID,
-			ip: params.ip || context.CLIENTIP,
-			type,
-			ua: context.CLIENTUA,
-			create_date: now
-		};
-
-		Object.assign(logData,
-			res.code === 0 ? {
-				user_id: res.uid,
-				state: 1
-			} : {
-				state: 0
-			})
-
-		return uniIdLogCollection.add(logData)
-	}
-
-	const getNeedCaptcha = async () => {
-		const now = Date.now()
-		// 鏌ヨ鏄惁鍦� {2灏忔椂} 鍐� {鍓�2鏉 鏈� {鐧诲綍澶辫触} 鏁版嵁锛屾潵纭畾鏄惁闇�瑕侀獙璇佺爜
-		const recordSize = 2;
-		const recordDate = 120 * 60 * 1000;
-
-		const uniIdLogCollection = db.collection('uni-id-log')
-		let recentRecord = await uniIdLogCollection.where({
-				deviceId: params.deviceId || context.DEVICEID,
-				create_date: dbCmd.gt(now - recordDate),
-				type: 'login'
-			})
-			.orderBy('create_date', 'desc')
-			.limit(recordSize)
-			.get();
-
-		return recentRecord.data.filter(item => item.state === 0).length === recordSize;
-	}
-	
-	//event涓哄鎴风涓婁紶鐨勫弬鏁�
-	console.log('event : ' + event)
-
-	let payload = {}
-	let noCheckAction = [
-		'register', 'loginByWeixin', 'checkToken',
-		'login', 'logout', 'sendSmsCode',
-		'loginBySms', 'inviteLogin', 'loginByUniverify',
-		'loginByApple', 'createCaptcha', 'verifyCaptcha',
-		'refreshCaptcha'
-	]
-
-	if (noCheckAction.indexOf(event.action) === -1) {
-		if (!event.uniIdToken) {
-			return {
-				code: 403,
-				msg: '缂哄皯token'
-			}
-		}
-		payload = await uniIDIns.checkToken(event.uniIdToken)
-		if (payload.code && payload.code > 0) {
-			return payload
-		}
-		params.uid = payload.uid
-	}
-
-	let res = {}
-
-	switch (event.action) {
-		case 'register':
-			res = await uniIDIns.register(params);
-			break;
-		case 'login':
-			let passed = false;
-			let needCaptcha = await getNeedCaptcha();
-			
-			if (needCaptcha) {
-				res = await uniCaptcha.verify(params)
-				if (res.code === 0) passed = true;
-			}
-			
-			if (!needCaptcha || passed) {
-				res = await uniIDIns.login(params);
-				await loginLog(res);
-				needCaptcha = await getNeedCaptcha();
-			}
-			
-			res.needCaptcha = needCaptcha;
-			break;
-		case 'loginByWeixin':
-			res = await uniIDIns.loginByWeixin(params);
-			loginLog(res)
-			break;
-		case 'checkToken':
-			res = await uniIDIns.checkToken(event.uniIdToken);
-			break;
-		case 'logout':
-			res = await uniIDIns.logout(event.uniIdToken)
-			break;
-		case 'sendSmsCode':
-			// 绠�鍗曢檺鍒朵竴涓嬪鎴风璋冪敤棰戠巼
-			const ipLimit = await db.collection('uni-verify').where({
-				ip: context.CLIENTIP,
-				created_at: dbCmd.gt(Date.now() - 60000)
-			}).get()
-			if (ipLimit.data.length > 0) {
-				return {
-					code: 429,
-					msg: '璇锋眰杩囦簬棰戠箒'
-				}
-			}
-			const templateId = '' // 鏇挎崲涓鸿嚜宸辩敵璇风殑妯℃澘id
-			if (!templateId) {
-				return {
-					code: 500,
-					msg: 'sendSmsCode闇�瑕佷紶鍏ヨ嚜宸辩殑templateId锛屽弬鑰僪ttps://uniapp.dcloud.net.cn/uniCloud/uni-id?id=sendsmscode'
-				}
-			}
-			const randomStr = '00000' + Math.floor(Math.random() * 1000000)
-			const code = randomStr.substring(randomStr.length - 6)
-			res = await uniIDIns.sendSmsCode({
-				mobile: params.mobile,
-				code,
-				type: params.type,
-				templateId
-			})
-			break;
-		case 'loginBySms':
-			if (!params.code) {
-				return {
-					code: 500,
-					msg: '璇峰~鍐欓獙璇佺爜'
-				}
-			}
-			if (!/^1\d{10}$/.test(params.mobile)) {
-				return {
-					code: 500,
-					msg: '鎵嬫満鍙风爜濉啓閿欒'
-				}
-			}
-			res = await uniIDIns.loginBySms(params)
-			loginLog(res)
-			break;
-		case 'inviteLogin':
-			if (!params.code) {
-				return {
-					code: 500,
-					msg: '璇峰~鍐欓獙璇佺爜'
-				}
-			}
-			res = await uniIDIns.loginBySms({
-				...params,
-				type: 'register'
-			})
-			break;
-		case 'getInviteCode':
-			res = await uniIDIns.getUserInfo({
-				uid: params.uid,
-				field: ['my_invite_code']
-			})
-			if (res.code === 0) {
-				res.myInviteCode = res.userInfo.my_invite_code
-				delete res.userInfo
-			}
-			break;
-		case 'getInvitedUser':
-			res = await uniIDIns.getInvitedUser(params)
-			break;
-		case 'loginByUniverify':
-			res = await uniIDIns.loginByUniverify(params)
-			break;
-		case 'loginByApple':
-			res = await uniIDIns.loginByApple(params)
-			loginLog(res)
-			break;
-		case 'updatePwd':
-			res = await uniIDIns.updatePwd({
-				uid: params.uid,
-				...params
-			})
-			break;
-		case 'createCaptcha':
-			res = await uniCaptcha.create(params)
-			break;
-		case 'refreshCaptcha':
-			res = await uniCaptcha.refresh(params)
-			break;
-		default:
-			res = {
-				code: 403,
-				msg: '闈炴硶璁块棶'
-			}
-			break;
-	}
-
-	//杩斿洖鏁版嵁缁欏鎴风
-	return res
-};
diff --git a/uniCloud-aliyun/cloudfunctions/user-center/package-lock.json b/uniCloud-aliyun/cloudfunctions/user-center/package-lock.json
deleted file mode 100644
index ed6aebd..0000000
--- a/uniCloud-aliyun/cloudfunctions/user-center/package-lock.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
-	"name": "user-center",
-	"version": "1.0.0",
-	"lockfileVersion": 2,
-	"requires": true,
-	"packages": {
-		"": {
-			"version": "1.0.0",
-			"license": "ISC",
-			"dependencies": {
-				"uni-captcha": "file:../../../uni_modules/uni-captcha/uniCloud/cloudfunctions/common/uni-captcha",
-				"uni-id": "file:../../../uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id"
-			}
-		},
-		"../../../uni_modules/uni-captcha/uniCloud/cloudfunctions/common/uni-captcha": {
-			"version": "0.1.0",
-			"license": "Apache-2.0"
-		},
-		"../../../uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id": {
-			"version": "3.0.11",
-			"license": "Apache-2.0",
-			"dependencies": {
-				"uni-config-center": "file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
-			}
-		},
-		"node_modules/uni-captcha": {
-			"resolved": "../../../uni_modules/uni-captcha/uniCloud/cloudfunctions/common/uni-captcha",
-			"link": true
-		},
-		"node_modules/uni-id": {
-			"resolved": "../../../uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id",
-			"link": true
-		}
-	},
-	"dependencies": {
-		"uni-captcha": {
-			"version": "file:../../../uni_modules/uni-captcha/uniCloud/cloudfunctions/common/uni-captcha"
-		},
-		"uni-id": {
-			"version": "file:../../../uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id",
-			"requires": {
-				"uni-config-center": "file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
-			}
-		}
-	}
-}
diff --git a/uniCloud-aliyun/cloudfunctions/user-center/package.json b/uniCloud-aliyun/cloudfunctions/user-center/package.json
deleted file mode 100644
index 7b569dc..0000000
--- a/uniCloud-aliyun/cloudfunctions/user-center/package.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-	"name": "user-center",
-	"version": "1.0.0",
-	"description": "",
-	"main": "index.js",
-	"scripts": {
-		"test": "echo \"Error: no test specified\" && exit 1"
-	},
-	"author": "",
-	"license": "ISC",
-	"dependencies": {
-		"uni-captcha": "file:../../../uni_modules/uni-captcha/uniCloud/cloudfunctions/common/uni-captcha",
-		"uni-id": "file:../../../uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id"
-	}
-}
diff --git a/uniCloud-aliyun/database/db_init.json b/uniCloud-aliyun/database/db_init.json
deleted file mode 100644
index d0227eb..0000000
--- a/uniCloud-aliyun/database/db_init.json
+++ /dev/null
@@ -1,559 +0,0 @@
-// 鍦ㄦ湰鏂囦欢涓彲閰嶇疆浜戞暟鎹簱鍒濆鍖栵紝鏁版嵁鏍煎紡瑙侊細https://uniapp.dcloud.io/uniCloud/cf-database?id=db_init
-
-// 缂栧啓瀹屾瘯鍚庡鏈枃浠剁偣鍙抽敭锛屽彲鎸夐厤缃鍒欏垱寤鸿〃鍜屾坊鍔犳暟鎹�
-
-{
-	"uni-id-users": {
-		"data": [],
-		"schema": {
-			"bsonType": "object",
-			"required": [],
-			"properties": {
-				"_id": {
-					"description": "瀛樺偍鏂囨。 ID锛堢敤鎴� ID锛夛紝绯荤粺鑷姩鐢熸垚"
-				},
-				"username": {
-					"bsonType": "string",
-					"title": "鐢ㄦ埛鍚�",
-					"description": "鐢ㄦ埛鍚嶏紝涓嶅厑璁搁噸澶�",
-					"trim": "both"
-				},
-				"password": {
-					"bsonType": "password",
-					"title": "瀵嗙爜",
-					"description": "瀵嗙爜锛屽姞瀵嗗瓨鍌�",
-					"trim": "both"
-				},
-				"password_secret_version": {
-					"bsonType": "int",
-					"title": "passwordSecret",
-					"description": "瀵嗙爜浣跨敤鐨刾asswordSecret鐗堟湰"
-				},
-				"nickname": {
-					"bsonType": "string",
-					"title": "鏄电О",
-					"description": "鐢ㄦ埛鏄电О",
-					"trim": "both"
-				},
-				"gender": {
-					"bsonType": "int",
-					"title": "鎬у埆",
-					"description": "鐢ㄦ埛鎬у埆锛�0 鏈煡 1 鐢锋�� 2 濂虫��",
-					"defaultValue": 0,
-					"enum": [{
-						"text": "鏈煡",
-						"value": 0
-					}, {
-						"text": "鐢�",
-						"value": 1
-					}, {
-						"text": "濂�",
-						"value": 2
-					}]
-				},
-				"status": {
-					"bsonType": "int",
-					"description": "鐢ㄦ埛鐘舵�侊細0 姝e父 1 绂佺敤 2 瀹℃牳涓� 3 瀹℃牳鎷掔粷",
-					"title": "鐢ㄦ埛鐘舵��",
-					"defaultValue": 0,
-					"enum": [{
-						"text": "姝e父",
-						"value": 0
-					}, {
-						"text": "绂佺敤",
-						"value": 1
-					}, {
-						"text": "瀹℃牳涓�",
-						"value": 2
-					}, {
-						"text": "瀹℃牳鎷掔粷",
-						"value": 3
-					}]
-				},
-				"mobile": {
-					"bsonType": "string",
-					"title": "鎵嬫満鍙风爜",
-					"description": "鎵嬫満鍙风爜",
-					"pattern": "^\\+?[0-9-]{3,20}$",
-					"trim": "both"
-				},
-				"mobile_confirmed": {
-					"bsonType": "int",
-					"description": "鎵嬫満鍙烽獙璇佺姸鎬侊細0 鏈獙璇� 1 宸查獙璇�",
-					"title": "鎵嬫満鍙烽獙璇佺姸鎬�",
-					"defaultValue": 0,
-					"enum": [{
-						"text": "鏈獙璇�",
-						"value": 0
-					}, {
-						"text": "宸查獙璇�",
-						"value": 1
-					}]
-				},
-				"email": {
-					"bsonType": "string",
-					"format": "email",
-					"title": "閭",
-					"description": "閭鍦板潃",
-					"trim": "both"
-				},
-				"email_confirmed": {
-					"bsonType": "int",
-					"description": "閭楠岃瘉鐘舵�侊細0 鏈獙璇� 1 宸查獙璇�",
-					"title": "閭楠岃瘉鐘舵��",
-					"defaultValue": 0,
-					"enum": [{
-						"text": "鏈獙璇�",
-						"value": 0
-					}, {
-						"text": "宸查獙璇�",
-						"value": 1
-					}]
-				},
-				"avatar": {
-					"bsonType": "string",
-					"title": "澶村儚鍦板潃",
-					"description": "澶村儚鍦板潃",
-					"trim": "both"
-				},
-				"department_id": {
-					"bsonType": "array",
-					"description": "閮ㄩ棬ID",
-					"title": "閮ㄩ棬",
-					"enumType": "tree",
-					"enum": {
-						"collection": "opendb-department",
-						"orderby": "name asc",
-						"field": "_id as value, name as text"
-					}
-				},
-				"role": {
-					"bsonType": "array",
-					"title": "瑙掕壊",
-					"description": "鐢ㄦ埛瑙掕壊",
-					"enum": {
-						"collection": "uni-id-roles",
-						"field": "role_id as value, role_name as text"
-					},
-					"foreignKey": "uni-id-roles.role_id",
-					"permission": {
-						"write": false
-					}
-				},
-				"wx_unionid": {
-					"bsonType": "string",
-					"description": "寰俊unionid"
-				},
-				"wx_openid": {
-					"bsonType": "object",
-					"description": "寰俊鍚勪釜骞冲彴openid",
-					"properties": {
-						"app-plus": {
-							"bsonType": "string",
-							"description": "app骞冲彴寰俊openid"
-						},
-						"mp-weixin": {
-							"bsonType": "string",
-							"description": "寰俊灏忕▼搴忓钩鍙皁penid"
-						}
-					}
-				},
-				"ali_openid": {
-					"bsonType": "string",
-					"description": "鏀粯瀹濆钩鍙皁penid"
-				},
-				"apple_openid": {
-					"bsonType": "string",
-					"description": "鑻规灉鐧诲綍openid"
-				},
-				"comment": {
-					"bsonType": "string",
-					"title": "澶囨敞",
-					"description": "澶囨敞",
-					"trim": "both"
-				},
-				"realname_auth": {
-					"bsonType": "object",
-					"description": "瀹炲悕璁よ瘉淇℃伅",
-					"required": [
-						"type",
-						"auth_status"
-					],
-					"properties": {
-						"type": {
-							"bsonType": "int",
-							"minimum": 0,
-							"maximum": 1,
-							"description": "鐢ㄦ埛绫诲瀷锛�0 涓汉鐢ㄦ埛 1 浼佷笟鐢ㄦ埛"
-						},
-						"auth_status": {
-							"bsonType": "int",
-							"minimum": 0,
-							"maximum": 3,
-							"description": "璁よ瘉鐘舵�侊細0 鏈璇� 1 绛夊緟璁よ瘉 2 璁よ瘉閫氳繃 3 璁よ瘉澶辫触"
-						},
-						"auth_date": {
-							"bsonType": "timestamp",
-							"description": "璁よ瘉閫氳繃鏃堕棿"
-						},
-						"real_name": {
-							"bsonType": "string",
-							"description": "鐪熷疄濮撳悕/浼佷笟鍚嶇О"
-						},
-						"identity": {
-							"bsonType": "string",
-							"description": "韬唤璇佸彿鐮�/钀ヤ笟鎵х収鍙风爜"
-						},
-						"id_card_front": {
-							"bsonType": "string",
-							"description": "韬唤璇佹闈㈢収 URL"
-						},
-						"id_card_back": {
-							"bsonType": "string",
-							"description": "韬唤璇佸弽闈㈢収 URL"
-						},
-						"in_hand": {
-							"bsonType": "string",
-							"description": "鎵嬫寔韬唤璇佺収鐗� URL"
-						},
-						"license": {
-							"bsonType": "string",
-							"description": "钀ヤ笟鎵х収 URL"
-						},
-						"contact_person": {
-							"bsonType": "string",
-							"description": "鑱旂郴浜哄鍚�"
-						},
-						"contact_mobile": {
-							"bsonType": "string",
-							"description": "鑱旂郴浜烘墜鏈哄彿鐮�"
-						},
-						"contact_email": {
-							"bsonType": "string",
-							"description": "鑱旂郴浜洪偖绠�"
-						}
-					}
-				},
-				"register_date": {
-					"bsonType": "timestamp",
-					"description": "娉ㄥ唽鏃堕棿",
-					"forceDefaultValue": {
-						"$env": "now"
-					}
-				},
-				"register_ip": {
-					"bsonType": "string",
-					"description": "娉ㄥ唽鏃� IP 鍦板潃",
-					"forceDefaultValue": {
-						"$env": "clientIP"
-					}
-				},
-				"last_login_date": {
-					"bsonType": "timestamp",
-					"description": "鏈�鍚庣櫥褰曟椂闂�"
-				},
-				"last_login_ip": {
-					"bsonType": "string",
-					"description": "鏈�鍚庣櫥褰曟椂 IP 鍦板潃"
-				},
-				"token": {
-					"bsonType": "array",
-					"description": "鐢ㄦ埛token"
-				},
-				"inviter_uid": {
-					"bsonType": "array",
-					"description": "鐢ㄦ埛鍏ㄩ儴涓婄骇閭�璇疯��",
-					"trim": "both"
-				},
-				"my_invite_code": {
-					"bsonType": "string",
-					"description": "鐢ㄦ埛鑷韩閭�璇风爜"
-				}
-			}
-		},
-		"index": [{
-				"IndexName": "username",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "username",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "mobile",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "mobile",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "email",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "email",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "wx_openid.app-plus",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "wx_openid.app-plus",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "wx_openid.mp-weixin",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "wx_openid.mp-weixin",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "wx_unionid",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "wx_unionid",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "ali_openid",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "ali_openid",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "apple_openid",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "apple_openid",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "my_invite_code",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "my_invite_code",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "inviter_uid",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "inviter_uid",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "invite_time",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "invite_time",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "role",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "role",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "department",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "department_id",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			}
-		]
-	},
-	"uni-id-log": {
-		"data": [],
-		"schema": {
-			"bsonType": "object",
-			"required": [],
-			"properties": {
-				"_id": {
-					"description": "ID锛岀郴缁熻嚜鍔ㄧ敓鎴�"
-				},
-				"user_id": {
-					"bsonType": "string",
-					"description": "鐢ㄦ埛id锛屽弬鑰僽ni-id-users琛�"
-				},
-				"ua": {
-					"bsonType": "string",
-					"description": "userAgent"
-				},
-				"device_uuid": {
-					"bsonType": "string",
-					"description": "璁惧鍞竴鏍囪瘑"
-				},
-				"type": {
-					"bsonType": "string",
-					"enum": [
-						"login",
-						"logout"
-					],
-					"description": "鐧诲綍绫诲瀷"
-				},
-				"state": {
-					"bsonType": "int",
-					"description": "缁撴灉锛�0 澶辫触銆�1 鎴愬姛"
-				},
-				"ip": {
-					"bsonType": "string",
-					"description": "ip鍦板潃"
-				},
-				"create_date": {
-					"bsonType": "timestamp",
-					"description": "鍒涘缓鏃堕棿",
-					"forceDefaultValue": {
-						"$env": "now"
-					}
-				}
-			}
-		},
-		"index": [{
-				"IndexName": "user_id",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "user_id",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			},
-			{
-				"IndexName": "device_uuid",
-				"MgoKeySchema": {
-					"MgoIndexKeys": [{
-						"Name": "device_uuid",
-						"Direction": "1"
-					}],
-					"MgoIsUnique": false
-				}
-			}
-		]
-	},
-	"opendb-verify-codes": {
-		"data": [],
-		"schema": {
-			"bsonType": "object",
-			"required": [],
-			"properties": {
-				"_id": {
-					"description": "ID锛岀郴缁熻嚜鍔ㄧ敓鎴�"
-				},
-				"mobile": {
-					"bsonType": "string",
-					"description": "鎵嬫満鍙风爜"
-				},
-				"email": {
-					"bsonType": "string",
-					"description": "閭"
-				},
-				"device_uuid": {
-					"bsonType": "string",
-					"description": "璁惧UUID锛屽父鐢ㄤ簬鍥剧墖楠岃瘉鐮�"
-				},
-				"code": {
-					"bsonType": "string",
-					"description": "楠岃瘉鐮�"
-				},
-				"scene": {
-					"bsonType": "string",
-					"description": "浣跨敤楠岃瘉鐮佺殑鍦烘櫙锛屽锛歭ogin, bind, unbind, pay"
-				},
-				"state": {
-					"bsonType": "int",
-					"description": "楠岃瘉鐘舵�侊細0 鏈獙璇併��1 宸查獙璇併��2 宸蹭綔搴�"
-				},
-				"ip": {
-					"bsonType": "string",
-					"description": "璇锋眰鏃跺鎴风IP鍦板潃"
-				},
-				"create_date": {
-					"bsonType": "timestamp",
-					"description": "鍒涘缓鏃堕棿"
-				},
-				"expired_date": {
-					"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
-			}
-		}, {
-			"IndexName": "device_uuid_code_",
-			"MgoKeySchema": {
-				"MgoIndexKeys": [{
-					"Name": "device_uuid",
-					"Direction": "1"
-				}, {
-					"Name": "code",
-					"Direction": "1"
-				}],
-				"MgoIsUnique": false
-			}
-		}]
-	}
-}

--
Gitblit v1.8.0