array(2) { ["errcode"]=> int(48001) ["errmsg"]=> string(39) "api unauthorized hint: [mMsz60652vr49!]" }
2017-09-21
$Access_Token=$this->getAccess_Token();获取Token方法中使用url接口方法返回的数组,所以这边赋值给$Access_Token的也是数组,接下来的url的Token参数如果是$Access_Token那就没有作用了
$Access_Token=$this->getAccess_Token();
$Access_Tokenstr=$Access_Token['access_token'];
$url="https://api.weixin.qq.com/cgi-bin/menu/create
access_token=$Access_Tokenstr";
$Access_Token=$this->getAccess_Token();
$Access_Tokenstr=$Access_Token['access_token'];
$url="https://api.weixin.qq.com/cgi-bin/menu/create
access_token=$Access_Tokenstr";
2017-08-22