2023-12-09 20:14:32 创建了一个订阅消息(设置的是2023-12-13 17:24:00提醒我),微信返回的报文如下:
微信返回相关行为事件结果{SubscribeStatusString=accept, CreateTime=1702124072, Event=subscribe_msg_popup_event, SubscribeMsgPopupEvent=
, ToUserName=gh_2813279af9a4, FromUserName=o_-E55MrsVXZFP4kYfUTLvhPvX9M, MsgType=event, PopupScene=0, TemplateId=YkkrtzkKz6QhVLrnUhYI2Pmrp0vqRH-3zZgtchCkttM}
时间到了2023-12-13 17:24:00,我看没收到订阅消息,查看日志显示的是拒绝
发送订阅消息, 拼接json {"data":{"time11":{"value":"2023-12-13 17:24:00"},"thing13":{"value":"今日事今日毕,记得尽快处理哦!"},"thing4":{"value":"周三"},"thing1":{"value":" "}},"page":"/pages/index/index","template_id":"YkkrtzkKz6QhVLrnUhYI2Pmrp0vqRH-3zZgtchCkttM","touser":"o_-E55MrsVXZFP4kYfUTLvhPvX9M"}
2023-12-13 17:24:00.292 INFO com.fyq.utils.WechatMiniTokenUtils - 发送订阅消息返回结果: {"errcode":43101,"errmsg":"user refuse to accept the msg rid: 65797830-383f95ea-05231317"}
https://developers.weixin.qq.com/community/develop/article/doc/000e22321b8ef0b9bc491ae9c53c13?page=2#comment-list
订阅消息只能用户订阅一次,你下发一下给用户,下发完后,用户没有再次订阅,你继续下发就会提示43101