diff --git a/webapp/models/User.php b/webapp/models/User.php index 15267858..2e5f5a49 100644 --- a/webapp/models/User.php +++ b/webapp/models/User.php @@ -71,16 +71,16 @@ class User extends BaseModel { return $rows ? $rows : null; } - public static function getVipLv($address){ - $row = SqlHelper::ormSelectOne( - myself()->_getMarketMysql(''), - 't_staking_cec', - array( - 'account_address' => $address - ) - ); - return $row ? $row['vip_lv'] : 0; - } +// public static function getVipLv($address){ +// $row = SqlHelper::ormSelectOne( +// myself()->_getMarketMysql(''), +// 't_staking_cec', +// array( +// 'account_address' => $address +// ) +// ); +// return $row ? $row['vip_lv'] : 0; +// } public static function show($row) { @@ -141,7 +141,7 @@ class User extends BaseModel { 'honor_info' => $honorInfo, 'account_lucky' => $lucky, 'chest_rate' => $rate, - 'vip_lv' => self::getVipLv($row['address']), +// 'vip_lv' => self::getVipLv($row['address']), ); } @@ -207,7 +207,7 @@ class User extends BaseModel { 'last_login_time' => $row['last_login_time'], 'account_lucky' => $lucky, 'chest_rate' => $rate, - 'vip_lv' => self::getVipLv($row['address']), +// 'vip_lv' => self::getVipLv($row['address']), ); }