https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/subscribe-message.html
使用小程序推送以下消息,用户反馈收不到,查日志返回错误码:40003,请问是什么原因,如何解决?
消息内容:
{"openId2":null,"page":"/pages/login/index","data":{"time1":{"value":"14:45"},"thing3":{"value":"该点餐啦,点我立即开启美食之旅~"},"thing2":{"value":"点餐提醒"}},"lang":"zh_CN","touser":"oBvhO5bScabGs4gefh06U3HGGfx0","template_id":"7Y3QUNsOO0YwBpTEo_LbrwxliOHSW3Wk67PUyK1NXeY","miniprogram_state":null}
日志:
返回值提示的很清楚, 无效的openid,然后看到你发送请求传的openid是 null
问题找到了, 检查你数据库和代码逻辑
有请官方或大神指导