diff --git a/webapp/controller/RechargeController.class.php b/webapp/controller/RechargeController.class.php index 1ef61c8..c1faed6 100644 --- a/webapp/controller/RechargeController.class.php +++ b/webapp/controller/RechargeController.class.php @@ -994,7 +994,11 @@ class RechargeController $activity = json_decode($rechargerow['activity'], true); } $needupdate = false; + $time1 = ''; + $time2 = ''; foreach ($activityconf as $key => $itemconf) { + $time1 = $itemconf['time1']; + $time2 = $itemconf['time2']; if (time() < strtotime($itemconf['time1']) || time() > strtotime($itemconf['time2'])) { continue; } @@ -1070,6 +1074,8 @@ class RechargeController 'vip_info' => $vipinfo, 'daily_purchase' => $dailypurchase, 'recharge_activity' => $recharge_activity, + 'time1' => $time1, + 'time2' => $time2, )); }