|
@@ -3,6 +3,7 @@
|
|
|
namespace app\admin\controller\setting;
|
|
|
|
|
|
use app\admin\controller\AuthController;
|
|
|
+use app\admin\model\user\User;
|
|
|
use crmeb\services\{FormBuilder as Form, JsonService as Json, UtilService as Util};
|
|
|
use app\admin\model\system\{SystemRole, SystemAdmin as AdminModel};
|
|
|
use think\facade\Route as Url;
|
|
@@ -175,6 +176,8 @@ 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']) : '');
|
|
|
return $this->fetch();
|
|
|
}
|
|
|
|