This commit is contained in:
aozhiwei 2019-08-30 13:34:34 +08:00
parent 891404a220
commit f69bec1c89

View File

@ -476,7 +476,7 @@ class ActivityController{
return; return;
} }
$p = $this->getParameter(REWARD_TIMES); $p = $this->getParameter(REWARD_TIMES);
$times = $p['value']; $times = $p['value'] - 1;
foreach ($user_db['randreward_list'] as $randreward) { foreach ($user_db['randreward_list'] as $randreward) {
//增加奖励 //增加奖励
$addreward = new classes\AddReward(); $addreward = new classes\AddReward();