之前一直用得好好的没有任何问题,最近发现有问题,老是报错的
'https://open.weixin.qq.com/connect/oauth2/authorize?appid='.C('APPID').'&redirect_uri='.$redirect_uri.'&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect'
结果会报以下这个错误:
{"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: CKociFwgE-c_UetA ]"}
APPID:wx89eb054264387f1c
48001 —— 无权限