增加 opendb-sms-task 表短信接收者字段 condition

This commit is contained in:
chenruilong 2023-01-29 15:56:44 +08:00
parent f1361e9f3f
commit 3a803b9519

View File

@ -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": []
}
}