- message/custom/send 发送消息报错45015?
$token=getAccessToken(); // $url="https://api.weixin.qq.com/cgi-bin/message/custom/business/send?access_token=".$token; $url="https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=".$token; $data["touser"]="OPENID"; $data["msgtype"]="text"; $data["text"]=array("content"=>"hello word"); $result=curlPost($url,json_encode($data)); dump($result); b报错45015
2022-11-18 - 小程序与公众号已创建关联已关注公众后通过小程序获取到的OPENID调取发送消息后报错40003?
小程序通过wx.login获取到用户的openid 然后小程序与公众号已经建立关联,然后通过https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=token接口发送消息最后 'errcode' => int 40003 'errmsg' => string 'invalid openid rid: 6376e079-6a4c9648-73979264' (length=46)报错 我现在unionid也获取不到
2022-11-18 - 小程序订阅后推送智能推送一次再次推送报错43101问题?
前端代码setPhoto:function(){ wx.requestSubscribeMessage({ tmplIds: ['5aoiQO173x-B1RyN8d0d4lpgNtOl_qms4d8d'], success (res) { console.log(res); }, fail (fail) { console.log(fail); } }) }, 后端推送接口https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token= 前端调用一次授权后只能推送一次 再次推送报错 "errcode":43101,"errmsg":"user refuse to accept the msg rid: 6375ae16-17b28e23-64dbb388" 请问这块推送有时间限制吗?可否连续多次推送 推送相同内容
2022-11-17