diff --git a/webapp/controller/AdditemController.class.php b/webapp/controller/AdditemController.class.php index cfa5b33..357f82b 100644 --- a/webapp/controller/AdditemController.class.php +++ b/webapp/controller/AdditemController.class.php @@ -141,7 +141,7 @@ class AdditemController{ $item_id = $_REQUEST['item_id']; $item_num = $_REQUEST['item_num']; $accountid = $_REQUEST['account_id']; - $time = $_REQUEST['time']; + // $time = $_REQUEST['time']; // if (phpcommon\getIPv4() != '124.78.1.111') { // return; // } diff --git a/webapp/controller/RechargeController.class.php b/webapp/controller/RechargeController.class.php index 67d5f57..0cfbcb9 100644 --- a/webapp/controller/RechargeController.class.php +++ b/webapp/controller/RechargeController.class.php @@ -956,6 +956,11 @@ class RechargeController } } + foreach ($activity as $key => $val) { + $activity[$key]['award'] = $val['time'] > 0 ? 1 : 0; + unset($activity[$key]['time']); + } + $found = true; $coin_num = $addreward->getCoinNum($account_id);