<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Member\Auth; use ModStart\Core\Util\ConvertUtil; use Module\Member\Util\MemberGroupUtil; use Module\Member\Util\MemberVipUtil; class MemberGroup { public static function get($OSU2M = null, $E_3eV = null) { goto JXXsX; Zh5t4: return $ILOPo; goto Daq9G; JXXsX: static $ILOPo = null; goto P9Dm0; P8zZU: if (null !== $OSU2M) { return $ILOPo ? $ILOPo[$OSU2M] : $E_3eV; } goto Zh5t4; P9Dm0: if (null === $ILOPo) { $ILOPo = MemberGroupUtil::getMemberGroup(MemberUser::user()); } goto P8zZU; Daq9G: } public static function isDefault() { return self::get('isDefault', false); } public static function id() { return self::get('id', 0); } public static function inGroupIds($hSHB4) { return self::is($hSHB4); } public static function is($hSHB4) { goto tMsAz; GN_Vr: return in_array($StE5h, $hSHB4); goto D3h3X; oV9Nh: if (empty($StE5h)) { return false; } goto GN_Vr; dEfeN: $StE5h = self::get('id'); goto oV9Nh; tMsAz: if (!is_array($hSHB4)) { $hSHB4 = ConvertUtil::toArray($hSHB4); } goto dEfeN; D3h3X: } }