开始将前端由h-ui换成X-admin
This commit is contained in:
1 parent
241775014b
commit
af94de400d
1346 files changed
+11039
-300039
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user