如何解决小程序通过统一服务消息接口下发到公众号报40003错误,提示invalid openid?
发送的报文: {"touser":"okWc64__9y9-1MFC7o3zx267t4JA","mp_template_msg":{"data":{"keyword3":{"value":"恭喜你购买成功"},"keyword1":{"value":"恭喜你购买成功"},"keyword2":{"value":"恭喜你购买成功"},"remark":{"value":"恭喜你购买成功"},"first":{"value":"恭喜你购买成功"}},"appid":"wxaf2e1bbe562a89f1","template_id":"Z2a291Zr162WF0vRRF46UGqS9KScPmVuXFg4kSX-c-s","miniprogram":{"pagepath":"/pages/index/index","appid":"wxadad7f8b935e4749"},"url":"https://www.baidu.com"}} 已排查的点: openId肯定是该小程序的openId当前的消息模版就是目前线上用的,模版没问题获取access_token时是使用小程序的appid和appsecertpagepath改成page也没用openId换成是公众号的openId和unionId也不行小程序和公众号已关联,并且绑定的都是同一个主体