pluck('user_id')->toArray(); if ($withSelf) { $userIds[] = JwtToken::getCurrentId(); } return array_unique($userIds); } /** * 是否是超级管理员 * @param int $admin_id * @return bool */ public static function isSupperAdmin(int $admin_id = 0): bool { // 暂时不涉及权限 return true; } }