调用接口:
https://api.weixin.qq.com/cgi-bin/component/setprivacysetting?access_token=51_Gv96uQESI8-9itHf4MolS6aJqKPFg5Y3Zi8JRLwvnV0ZxdVd-A8ldbC0azWjtb7nXJBd6G78LSqitn-jtT3ZM6rXn4s8_co59pTkkGtQbXMRzVmLzl5-s_eyjd1QL1tvRtOUtm1OdVPdlStaCRTjAJAMBD
array(2) {
["errcode"]=>
int(48001)
["errmsg"]=>
string(48) "api unauthorized rid: 61a486ad-08c43be2-4df7d94d"
}
你好,使用的token有误,请使用第三方平台接口调用令牌authorizer_access_token调用接口。后续遇到接口类问题参考https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/troubleshooting/third_party_authority_instructions_troubleshooting.html排查下哈~