开始将前端由h-ui换成X-admin

This commit is contained in:
cxdbz committed 2019-03-25 20:11:26 +08:00
1 parent 241775014b
commit af94de400d
1346 files changed
+11039 -300039

No files matched your search

+2 -3
View File
@@ -33,7 +33,7 @@ class Index extends Base
// 实例化管理员数据模型
$admin = new \app\admin\model\Admin;
// 获取管理员信息
$userinfo = $admin
$list->userinfo = $admin
->where('username',session('username'))
->field('username,id')
->find();
@@ -43,8 +43,6 @@ class Index extends Base
// 模版赋值
$this->assign('list',$list);
$this->assign('userinfo',$userinfo);
// 渲染输出
return $this->fetch();
@@ -52,6 +50,7 @@ class Index extends Base
public function welcome()
{
//实例化数据模型
$sysbasemod = new sysbasemod();