后台更新
This commit is contained in:
@@ -38,6 +38,8 @@ class Menu extends Admin{
|
||||
|
||||
$this->data['data'] = $res;
|
||||
return $this->data;
|
||||
}else{
|
||||
return $this->data;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,6 +54,9 @@ class Menu extends Admin{
|
||||
|
||||
$this->data['data'] = $res;
|
||||
return $this->data;
|
||||
}else{
|
||||
$this->data['template'] = 'edit';
|
||||
return $this->data;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,15 @@ class User extends Admin{
|
||||
* @title 系统首页
|
||||
*/
|
||||
public function index(){
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->data;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 个人资料
|
||||
*/
|
||||
public function profile(){
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user