This commit is contained in:
小鱼开发
2024-08-22 16:53:13 +08:00
parent 7ad87cfbfb
commit f8b1df98a3
+2 -2
View File
@@ -136,7 +136,7 @@ class Draw extends CI_Controller
if ($v['itemIds']) {
//不中奖奖品
if($activityId == 29 and in_array($winType, array(1,2,3))){
if(($activityId == 29 || $activityId == 32) and in_array($winType, array(1,2,3,4))){
$activityId = 21;
$whereOrder = ['activityId' => $activityId, 'status' => 1];
$v['itemIds'] = [27];
@@ -257,7 +257,7 @@ class Draw extends CI_Controller
$dev = false !== strpos($_SERVER['HTTP_HOST'], 'dev') ? 1 : 0;
foreach ($result as $v) {
if($activityId == 29 and in_array($winType, array(1,2,3))){
if(($activityId == 29 || $activityId == 32) and in_array($winType, array(1,2,3,4))){
$resultSet[] = $v;
$winNum++;
$sms++;