更换使用adminlte皮肤
This commit is contained in:
@@ -10,6 +10,7 @@ namespace app\controller\admin;
|
||||
|
||||
use app\controller\Admin;
|
||||
use think\facade\Session;
|
||||
use app\model\Menu;
|
||||
|
||||
/**
|
||||
* @title 后端公共模块
|
||||
@@ -20,6 +21,13 @@ class Index extends Admin{
|
||||
* @title 系统首页
|
||||
*/
|
||||
public function index(){
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 系统首页
|
||||
*/
|
||||
public function dashboard(){
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
namespace app\controller\admin;
|
||||
|
||||
use app\controller\Admin;
|
||||
use app\Model\Menu as MenuModel;
|
||||
|
||||
class Menu extends Admin{
|
||||
|
||||
@@ -16,6 +17,13 @@ class Menu extends Admin{
|
||||
* @title 系统首页
|
||||
*/
|
||||
public function index(){
|
||||
if($this->request->isAjax()){
|
||||
$menu = new MenuModel();
|
||||
|
||||
$res = $menu->select();
|
||||
|
||||
$this->data['data'] = $res;
|
||||
return $this->data;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -18,4 +18,18 @@ class User extends Admin{
|
||||
public function index(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 检测密码正确性
|
||||
*/
|
||||
public function checkPassword(){
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 修改密码
|
||||
*/
|
||||
public function resetpwd(){
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user