1
This commit is contained in:
parent
2eaa689cd7
commit
346ef4ace1
@ -1180,6 +1180,15 @@ class UserController extends BaseAuthedController {
|
|||||||
$userInfo['has_vip_lucky'] = myself()->_getVipRightsVal(
|
$userInfo['has_vip_lucky'] = myself()->_getVipRightsVal(
|
||||||
myself()->_getMtConstant('StakingVip', 'ACCOUNT_LUCKY_INC')
|
myself()->_getMtConstant('StakingVip', 'ACCOUNT_LUCKY_INC')
|
||||||
);
|
);
|
||||||
|
{
|
||||||
|
$userInfo['vip_lv'] = 0;
|
||||||
|
$userInfo['vip_exp'] = 0;
|
||||||
|
$vipInfo = myself()->_callServiceStatic('StakingVipService', 'getDetails');
|
||||||
|
if ($vipInfo) {
|
||||||
|
$userInfo['vip_lv'] = $vipInfo['lv'];
|
||||||
|
$userInfo['vip_exp'] = $vipInfo['cur'];
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user