|
@@ -171,6 +171,7 @@ class SystemAdmin extends BaseModel
|
|
|
return self::page($model, function ($admin) {
|
|
|
$admin->roles = SystemRole::where('id', 'IN', $admin->roles)->column('role_name', 'id');
|
|
|
$front = User::where('admin_id', $admin->id)->find();
|
|
|
+ $admin->store = SystemStore::where('id', $admin->store_id)->value('name');
|
|
|
$admin->front = $front ? ($front['nickname'] . '|' . $front['uid']) : '';
|
|
|
}, $where);
|
|
|
}
|