-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
readme 中调用wxpusher的用法是:
WxPusher.send_message('',
uids='',
topic_ids='<topic_ids>',
token='')
其中uids 和 topic_ids 不是字符串类型,是列表类型,以字符串形式调用会返回1005错误。使用以下调用方式提交发送消息成功:
WxPusher.send_message('test1111',
uids=['UID_xxxxxxx'],
topic_ids=[],
token='AT_xxxx')
建议存储发送任务的返回消息,即
result = WxPusher.send_message('test1111',
uids=['UID_xxxxxxx'],
topic_ids=[],
token='AT_xxxx')
print(result)
GrayXu and Iamasoldier6
Metadata
Metadata
Assignees
Labels
No labels