日常更新
This commit is contained in:
@@ -20,7 +20,8 @@ class Index extends Admin{
|
||||
/**
|
||||
* @title 系统首页
|
||||
*/
|
||||
public function index(){
|
||||
public function index(Menu $menu){
|
||||
$this->data['data'] = array('menu' => $menu->getMenu($this->request));
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user