vip plustimes

This commit is contained in:
yangduo 2025-01-16 16:42:33 +08:00
parent 95a5e815b6
commit b573e2e67b

View File

@ -284,6 +284,7 @@ class RoleController
'cpa_times' => 0, 'cpa_times' => 0,
'daily_diamond_times' => 0, 'daily_diamond_times' => 0,
'adfree' => 0, 'adfree' => 0,
'vip_plustime' => 0,
)); ));
} else { } else {
if ($avatar_url != '') { if ($avatar_url != '') {
@ -382,7 +383,10 @@ class RoleController
':accountid' => $account_id ':accountid' => $account_id
) )
); );
$privilege = new classes\Privilege();
$plustimes = $privilege->getCoinTimesPlus($account_id);
echo json_encode(array( echo json_encode(array(
'errcode' => 0, 'errcode' => 0,
'errmsg' => '', 'errmsg' => '',
@ -442,6 +446,7 @@ class RoleController
'cpa_times' => $cpa_times, 'cpa_times' => $cpa_times,
'daily_diamond_times' => $daily_diamond_times, 'daily_diamond_times' => $daily_diamond_times,
'adfree' => $rechargerow ? $rechargerow['adfree'] : 0, 'adfree' => $rechargerow ? $rechargerow['adfree'] : 0,
'vip_plustime' => $plustimes,
)); ));
} }
} }