You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
结果:
{"code":1005,"msg":"接口 [/api/send/message/] 出现异常:Required request body is missing: public com.zjiecode.wxpusher.common.base.result.Result com.zjiecode.wxpusher.server.biz.controller.app.SendController.postSendMessage(com.zjiecode.wxpusher.server.biz.bean.SendMessageReq)","data":null,"success":false}
The text was updated successfully, but these errors were encountered:
代码:
url = 'http://wxpusher.zjiecode.com/api/send/message/'
headers = {
'User-Agent': "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
'Content-Type': 'application/json'
}
payload = {
"appToken": "AT_kDV9PtZL17KqeFXaqbouFxB7pyOs165j",
"content": "Wxpusher祝你中秋节快乐!",
"summary": "消息摘要", # 消息摘要,显示在微信聊天页面或者模版消息卡片上,限制长度100,可以不传,不传默认截取content前面的内容。
# 内容类型 1表示文字 2表示html(只发送body标签内部的数据即可,不包括body标签) 3表示markdown
"contentType": 1,
"topicIds": [ # 发送目标的topicId,是一个数组!!!,也就是群发,使用uids单发的时候, 可以不传。
结果:
{"code":1005,"msg":"接口 [/api/send/message/] 出现异常:Required request body is missing: public com.zjiecode.wxpusher.common.base.result.Result com.zjiecode.wxpusher.server.biz.controller.app.SendController.postSendMessage(com.zjiecode.wxpusher.server.biz.bean.SendMessageReq)","data":null,"success":false}
The text was updated successfully, but these errors were encountered: