This commit is contained in:
aozhiwei 2024-10-21 11:22:55 +08:00
parent 2eaa689cd7
commit 346ef4ace1

View File

@ -1180,6 +1180,15 @@ class UserController extends BaseAuthedController {
$userInfo['has_vip_lucky'] = myself()->_getVipRightsVal(
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'];
}
}
}
}