From 0c1959bca5035ca1b705ae7421ef441f0e434c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AC=A7=E6=AD=8C?= Date: Wed, 24 Mar 2021 17:43:40 +0800 Subject: [PATCH] update collection/uni-id-users/collection.json. --- collection/uni-id-users/collection.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/collection/uni-id-users/collection.json b/collection/uni-id-users/collection.json index b5fb488..5dd1caa 100644 --- a/collection/uni-id-users/collection.json +++ b/collection/uni-id-users/collection.json @@ -134,6 +134,29 @@ "write": false } }, + "level": { + "bsonType": "object", + "description": "级别", + "required": [ + "level" + ], + "properties": { + "type": { + "bsonType": "int", + "minimum": 0, + "maximum": 1, + "description": "用户级别:0 粉丝 1 会员 3 店铺" + }, + "level_star_date": { + "bsonType": "timestamp", + "description": "级别加入时间" + }, + "level_end_date": { + "bsonType": "timestamp", + "description": "级别过期时间" + } + } + }, "wx_unionid": { "bsonType": "string", "description": "微信unionid" -- Gitee