收藏
回答

component_verify_ticket过期了,虽然一直有新的,但就是报错过期?

appid:wxee0e6158ae9f36cc

接收地址:https://tk.youpinhuishou.top/api/index/componentVerifyTicket

接收这边有返回success字符,一直给发推送的component_verify_ticket也在变化,但通过 https://api.weixin.qq.com/cgi-bin/component/api_component_token 这个接口使用最新的component_verify_ticket获取回来component_access_token再去https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token?component_access_token= 获取authorizer_refresh_token的时候就一直报错过期。

string(224) "https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token?component_access_token=69_hgAOU5hvPkWWYySvmvL5hscc3v9J5Hly-49IkEqhUibLcrARP4XYW9AxWrSoJUvFSG3CUAWY4S0DQ9gMfD9dU9PbnID5QYf2GUjJCIsiB8XW6LeePRNzipzML-0LQKcADAFKE" array(3) { ["component_appid"]=> string(18) "wxee0e6158ae9f36cc" ["authorizer_appid"]=> string(18) "wx53af924852f448ef" ["authorizer_refresh_token"]=> string(58) "refreshtoken@@@0yaf5f1S54i6O0pzwYwttJUoT0ERucXOv4bLdikZOJo" }

string(224) "https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token?component_access_token=69_sRVCql5HZoNjoJnRaJb9sTXUTX28cIk0OOaB6HARaxIsIFYRVRjxTR6SrTm6dvJVHJGVbJsF46PxMEJ53ejJh4VRgUGd-CmRM-A9uh_wq4mP7ZR8LZbfrMfLUPUONZdABAJIU" array(3) { ["component_appid"]=> string(18) "wxee0e6158ae9f36cc" ["authorizer_appid"]=> string(18) "wx53af924852f448ef" ["authorizer_refresh_token"]=> string(58) "refreshtoken@@@0yaf5f1S54i6O0pzwYwttJUoT0ERucXOv4bLdikZOJo"

一直用最新的请求authorizer_refresh_token,但一直报错过期

最后一次编辑于  2023-05-29
回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容