更换使用adminlte皮肤

This commit is contained in:
2019-08-27 23:21:35 +08:00
parent 6b1fef6f98
commit 79265d6023
2098 changed files with 853 additions and 502383 deletions

View File

@@ -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(){
}
/**

View File

@@ -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;
}
}
}

View File

@@ -18,4 +18,18 @@ class User extends Admin{
public function index(){
}
/**
* @title 检测密码正确性
*/
public function checkPassword(){
return true;
}
/**
* @title 修改密码
*/
public function resetpwd(){
}
}