<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Member\Auth; use Module\Member\Util\MemberVipUtil; class MemberVip { public static function get($UtKOH = null, $MVKFM = null) { goto XKGWH; R9BFg: return $yQVVz; goto EgzUC; XKGWH: static $yQVVz = null; goto rfDbd; MFRlU: if (null !== $UtKOH) { return isset($yQVVz[$UtKOH]) ? $yQVVz[$UtKOH] : $MVKFM; } goto R9BFg; rfDbd: if (null === $yQVVz) { $yQVVz = MemberVipUtil::getMemberVip(MemberUser::user()); } goto MFRlU; EgzUC: } public static function isDefault() { return self::get('isDefault', false); } public static function id() { return self::get('id', 0); } public static function is($Y4CY2) { goto Vh_hb; X0sTY: if (!is_array($Y4CY2)) { $Y4CY2 = array($Y4CY2); } goto eDy9T; eDy9T: return in_array(self::id(), $Y4CY2); goto rTpQ9; Vh_hb: if (empty($Y4CY2)) { return false; } goto X0sTY; rTpQ9: } }