From f69bec1c89cbb7e0df317c2b8b0349897c79f306 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 30 Aug 2019 13:34:34 +0800 Subject: [PATCH] 1 --- webapp/controller/ActivityController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/ActivityController.class.php b/webapp/controller/ActivityController.class.php index 4c0aeca..41077e9 100644 --- a/webapp/controller/ActivityController.class.php +++ b/webapp/controller/ActivityController.class.php @@ -476,7 +476,7 @@ class ActivityController{ return; } $p = $this->getParameter(REWARD_TIMES); - $times = $p['value']; + $times = $p['value'] - 1; foreach ($user_db['randreward_list'] as $randreward) { //增加奖励 $addreward = new classes\AddReward();