|
@@ -190,11 +190,6 @@ class WechatMenuController extends CatchController
|
|
|
|
|
|
public function test()
|
|
public function test()
|
|
{
|
|
{
|
|
- $info = WechatOpenPlatformService::getAppInfoById(8);
|
|
|
|
- $componentInfo = WechatOpenPlatformService::getComponentInfoByAppid($info->component_appid);
|
|
|
|
- $openPlatform = WechatOpenPlatformService::buildApplication($componentInfo);
|
|
|
|
- $app = $openPlatform->officialAccount($info->authorizer_appid, getProp($info, 'authorizer_refresh_token'));
|
|
|
|
- unset($appInfo);
|
|
|
|
- return $app->menu->list();
|
|
|
|
|
|
+ // return WechatMenuService::getClickInfoContent(8,'1-3');
|
|
}
|
|
}
|
|
}
|
|
}
|