mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-23 20:00:27 +08:00
27 lines
428 B
PHP
27 lines
428 B
PHP
<?php
|
|
|
|
namespace App\Http\Admin\Services;
|
|
|
|
class Index extends Service
|
|
{
|
|
|
|
public function getTopMenus()
|
|
{
|
|
$authMenu = new AuthMenu();
|
|
|
|
$topMenus = $authMenu->getTopMenus();
|
|
|
|
return kg_array_object($topMenus);
|
|
}
|
|
|
|
public function getLeftMenus()
|
|
{
|
|
$authMenu = new AuthMenu();
|
|
|
|
$leftMenus = $authMenu->getLeftMenus();
|
|
|
|
return kg_array_object($leftMenus);
|
|
}
|
|
|
|
}
|