diff --git a/webapp/controller/ActivityController.class.php b/webapp/controller/ActivityController.class.php index e5ec9c7..5045cdd 100644 --- a/webapp/controller/ActivityController.class.php +++ b/webapp/controller/ActivityController.class.php @@ -331,7 +331,7 @@ class ActivityController{ $day = 1; if (phpcommon\extractChannel($account_id) == 6001 || phpcommon\extractChannel($account_id) == 6000 || - phpcommon\extractChaanel($account_id) == 6006) { + phpcommon\extractChannel($account_id) == 6006) { $day = $row['now_days']; } $g_conf_lot_cluster = require('../res/lottery@lottery.php'); diff --git a/webapp/controller/PayController.class.php b/webapp/controller/PayController.class.php index 70bdf4f..940ac23 100644 --- a/webapp/controller/PayController.class.php +++ b/webapp/controller/PayController.class.php @@ -741,7 +741,7 @@ class PayController{ } if ($newhand == 2) { if ($row['game_times2'] >= $fight_times2 && $row['view_times2'] + 1 == $view_times2 && $newhand2 == 0) { - $newhand = 1; + $newhand2 = 1; } $rview_times2++; } diff --git a/webapp/controller/SignController.class.php b/webapp/controller/SignController.class.php index b305e98..5cca584 100644 --- a/webapp/controller/SignController.class.php +++ b/webapp/controller/SignController.class.php @@ -321,7 +321,7 @@ class SignController{ //如果大于配置表最后一周,按最后一周奖励 $g_conf_sign_cluster = require('../res/signDaily@signDaily.php'); if ($dayid > count($g_conf_sign_cluster)) { - $dayid = count($g_conf_sign_cluster) - 7; + $dayid = count($g_conf_sign_cluster) + $_REQUEST['sign_id'] - 7; } //$dayid = $_REQUEST['sign_id']; $s = $this->getSign($dayid + 90000); @@ -411,7 +411,7 @@ class SignController{ //如果大于配置表最后一周,按最后一周奖励 $g_conf_sign_cluster = require('../res/signDaily@signDaily.php'); if ($dayid > count($g_conf_sign_cluster)) { - $dayid = count($g_conf_sign_cluster) - 7; + $dayid = count($g_conf_sign_cluster) - + $_REQUEST['sign_id'] - 7; } //$dayid = $_REQUEST['sign_id'];