mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 14:31:15 +08:00
增加 opendb-sms-task 表短信接收者字段 condition
This commit is contained in:
parent
f1361e9f3f
commit
3a803b9519
@ -42,15 +42,19 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"all": {
|
"all": {
|
||||||
"bsonType": "bool",
|
"bsonType": "bool",
|
||||||
"description": "全部用户发送"
|
"description": "全部用户发送;字段废弃,由 condition 替代"
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "to.all=true时用来区分发送类型, 可选值 user | userTags"
|
"description": "可选值 user | userTags"
|
||||||
},
|
},
|
||||||
"receiver": {
|
"receiver": {
|
||||||
"bsonType": "array",
|
"bsonType": "array",
|
||||||
"description": "用户ID's \/ 用户标签ID's"
|
"description": "用户ID's \/ 用户标签ID's;指定id发送"
|
||||||
|
},
|
||||||
|
"condition": {
|
||||||
|
"bsonType": "object",
|
||||||
|
"description": "根据条件发送,例如给所有人发送"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -76,4 +80,4 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"index": []
|
"index": []
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user