array(2) { ["errcode"]=> int(48001) ["errmsg"]=> string(39) "api unauthorized hint: [mMsz60652vr49!]" }
2017-09-21
我definedItem方法調(diào)用了也沒成功啊,代碼檢查了很多遍跟視頻里的也一樣啊。為什么菜單還是出不來
2017-09-08
$Access_Token=$this->getAccess_Token();獲取Token方法中使用url接口方法返回的數(shù)組,所以這邊賦值給$Access_Token的也是數(shù)組,接下來的url的Token參數(shù)如果是$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
看到留言的疑問 大概是這樣的
那個封裝的創(chuàng)建菜單的函數(shù) 實際上是執(zhí)行了curl ,
老師網(wǎng)頁上輸出數(shù)據(jù)做測試的時候 執(zhí)行了definedItem方法,
一旦函數(shù)執(zhí)行一次,就影響了公眾號的菜單
那個封裝的創(chuàng)建菜單的函數(shù) 實際上是執(zhí)行了curl ,
老師網(wǎng)頁上輸出數(shù)據(jù)做測試的時候 執(zhí)行了definedItem方法,
一旦函數(shù)執(zhí)行一次,就影響了公眾號的菜單
2017-07-20
這個頁面是IndexAction.class.php,然后服務器配置的是index/index,那么這個頁面是在哪里啊。。能告訴我之前的在哪里有,不然對應不上啊,寫好的方法也不知道在哪里被調(diào)用
2017-06-21