diff --git a/webapp/controller/RechargeController.class.php b/webapp/controller/RechargeController.class.php index ae05c26..bef9485 100644 --- a/webapp/controller/RechargeController.class.php +++ b/webapp/controller/RechargeController.class.php @@ -259,7 +259,7 @@ class RechargeController } else { $addreward = new classes\AddReward(); - $item_list = $addreward->addReward($shopgoods['item_id'], 1, $_REQUEST['account_id'], $_REQUEST['timestamp'], 0); + $item_list = $addreward->addReward($shopgoods['item_id'], 1, $_REQUEST['account_id'], 0, 0); foreach ($item_list as &$value) { $value['itemnum'] = (float)$value['itemnum']; }