Skip to content

Commit

Permalink
refactor: 后台菜单改为通过 adminMenuGetMenus 事件和 AdminMenu 服务添加
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Jun 19, 2022
1 parent e0a11a7 commit d22d4ca
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/AppPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ class AppPlugin extends \Miaoxing\Plugin\BasePlugin

protected $code = 202;

public function onAdminNavGetNavs(&$navs, &$categories, &$subCategories)
{
$categories['app'] = [
'name' => '网站',
'sort' => 1000,
];
}

public function onLinkToGetLinks(&$links, &$types)
{
$types['site'] = [
Expand Down

0 comments on commit d22d4ca

Please sign in to comment.