Browse Source

一些功能

Kirin 4 năm trước cách đây
mục cha
commit
147b4c02e8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/admin/controller/setting/SystemAdmin.php

+ 1 - 1
app/admin/controller/setting/SystemAdmin.php

@@ -177,7 +177,7 @@ class SystemAdmin extends AuthController
         $adminInfo = $this->adminInfo;//获取当前登录的管理员
         $this->assign('adminInfo', $adminInfo);
         $front = User::where('admin_id', $adminInfo['id'])->find();
-        $this->assign('front', $front ? ($front['nickname'] . '|' . $front['id']) : '');
+        $this->assign('front', $front ? ($front['nickname'] . '|' . $front['uid']) : '');
         return $this->fetch();
     }