小程序获取openid,提示、48001错误
array(2) { [“errcode”]=> int(48001) [“errmsg”]=> string(51) “api unauthorized, hints: [ req_id: .A6HnA0329th54 ]” }
![](https://image.wxopen.club/content_711624fe-36b0-11ea-8c82-a0999b08aadb.png)
![](https://image.wxopen.club/content_712119e0-36b0-11ea-8c82-a0999b08aadb.png)
![](https://image.wxopen.club/content_712b8218-36b0-11ea-8c82-a0999b08aadb.png)
array(2) { [“errcode”]=> int(48001) [“errmsg”]=> string(51) “api unauthorized, hints: [ req_id: .A6HnA0329th54 ]” }