diff --git a/webapp/controller/RoleController.class.php b/webapp/controller/RoleController.class.php index 68f2dee..c89efe7 100644 --- a/webapp/controller/RoleController.class.php +++ b/webapp/controller/RoleController.class.php @@ -282,7 +282,6 @@ class RoleController 'blobdata' => '', 'cpa_times' => 0, 'daily_diamond_times' => 0, - 'first_recharge' => '', )); } else { if ($avatar_url != '') { @@ -375,12 +374,7 @@ class RoleController ':accountid' => $account_id ) ); - $rechargerow = $conn->execQueryOne( - 'SELECT * FROM recharge WHERE accountid=:accountid;', - array( - ':accountid' => $account_id - ) - ); + echo json_encode(array( 'errcode' => 0, 'errmsg' => '', @@ -439,7 +433,6 @@ class RoleController 'blobdata' => $blobdata, 'cpa_times' => $cpa_times, 'daily_diamond_times' => $daily_diamond_times, - 'first_recharge' => $rechargerow['first_data'], )); } }