$token = '3322wx'; //微信后台填写的TOKEN
$appid = 'wx443331cf4';
$secret = '2a632223b9da852cbd365444bf';
$WechatAuth = new WechatAuth($appid, $secret);
$newmenu = array(
array('type'=>'click','name'=>'测试菜单','key'=>'MENU_KEY_NEWS'),
array('type'=>'view','name'=>'我要搜索','url'=>'http://www.baidu.com'));
$WechatAuth->menuCreate($newmenu);
$WechatAuth->menuGet();菜单始终出不来,前面也载入了Auth类求帮助
最佳答案