From 3a803b95196738e8727fe7d6795a1ce535d4c39a Mon Sep 17 00:00:00 2001 From: chenruilong Date: Sun, 29 Jan 2023 15:56:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20opendb-sms-task=20?= =?UTF-8?q?=E8=A1=A8=E7=9F=AD=E4=BF=A1=E6=8E=A5=E6=94=B6=E8=80=85=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=20condition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collection/opendb-sms-task/collection.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/collection/opendb-sms-task/collection.json b/collection/opendb-sms-task/collection.json index a789dc7..2db218c 100644 --- a/collection/opendb-sms-task/collection.json +++ b/collection/opendb-sms-task/collection.json @@ -42,15 +42,19 @@ "properties": { "all": { "bsonType": "bool", - "description": "全部用户发送" + "description": "全部用户发送;字段废弃,由 condition 替代" }, "type": { "bsonType": "string", - "description": "to.all=true时用来区分发送类型, 可选值 user | userTags" + "description": "可选值 user | userTags" }, "receiver": { "bsonType": "array", - "description": "用户ID's \/ 用户标签ID's" + "description": "用户ID's \/ 用户标签ID's;指定id发送" + }, + "condition": { + "bsonType": "object", + "description": "根据条件发送,例如给所有人发送" } } }, @@ -76,4 +80,4 @@ } }, "index": [] -} \ No newline at end of file +}