9月20日统一发送消息接口调整后公众号模版消息发送给小程序用户报48001错误?
9月20日统一发送消息接口关闭后,我按照文档修改,一直提示错误 1.如果使用公众号appid和secret获取access_token请求接口 https://api.weixin.qq.com/cgi-bin/message/template/send?access_token= 授权token 请求数据: {"miniprogram":{"appid":"小程序appid","pagepath":"小程序路径(已上线)"},"touser":"小程序用户openid","template_id":"*****S6KSYQ-7lNqYWEy4aE-xkO*****","data":{"first":{"value":"您有一个订单需要配送"},"keyword1":{"value":"ON202309260008"},"keyword2":{"value":"[关注公众号 x1箱]"},"keyword3":{"value":"测试号"},"keyword4":{"value":"深圳软件产业基地"},"keyword5":{"value":"1562512****"},"remark":{"value":""}}} 返回数据: {"errcode":40003,"errmsg":"invalid openid rid: 65123adc-4bba15be-38979dea"} 2.如果使用小程序appid和secret获取access_token请求接口 https://api.weixin.qq.com/cgi-bin/message/template/send?access_token= 授权token 请求数据: {"miniprogram":{"appid":"小程序appid","pagepath":"小程序路径(已上线)"},"touser":"小程序用户openid","template_id":"*****S6KSYQ-7lNqYWEy4aE-xkO*****","data":{"first":{"value":"您有一个订单需要配送"},"keyword1":{"value":"ON202309260008"},"keyword2":{"value":"[关注公众号 x1箱]"},"keyword3":{"value":"测试号"},"keyword4":{"value":"深圳软件产业基地"},"keyword5":{"value":"1562512****"},"remark":{"value":""}}} 返回数据: {"errcode":48001,"errmsg":"api unauthorized rid: 65123bfc-0af84ff0-70142a49"} 公众号和小程序已绑定关联关系,公众号已获得模版消息接口权限