diff --git a/webapp/controller/RoleController.class.php b/webapp/controller/RoleController.class.php index c1ae4f9..0e1901a 100644 --- a/webapp/controller/RoleController.class.php +++ b/webapp/controller/RoleController.class.php @@ -284,6 +284,7 @@ class RoleController 'cpa_times' => 0, 'daily_diamond_times' => 0, 'adfree' => 0, + 'vip_plustime' => 0, )); } else { if ($avatar_url != '') { @@ -382,7 +383,10 @@ class RoleController ':accountid' => $account_id ) ); - + + $privilege = new classes\Privilege(); + $plustimes = $privilege->getCoinTimesPlus($account_id); + echo json_encode(array( 'errcode' => 0, 'errmsg' => '', @@ -442,6 +446,7 @@ class RoleController 'cpa_times' => $cpa_times, 'daily_diamond_times' => $daily_diamond_times, 'adfree' => $rechargerow ? $rechargerow['adfree'] : 0, + 'vip_plustime' => $plustimes, )); } }