Ken 1 dag sedan
förälder
incheckning
191a5f325b
1 ändrade filer med 5 tillägg och 5 borttagningar
  1. 5 5
      app/Services/PcIssueService.php

+ 5 - 5
app/Services/PcIssueService.php

@@ -89,8 +89,8 @@ class PcIssueService extends BaseService
                 $combo = implode(' ', $combo);
 
                 if (Cache::add($key, $item->winning_numbers, 100)) {
-                    self::lotteryDraw($item->issue_no, $item->winning_numbers, $combo, '');
-
+                    $res = self::lotteryDraw($item->issue_no, $item->winning_numbers, $combo, '');
+//                    'code' => self::NOT
                 }
 
 
@@ -114,9 +114,9 @@ class PcIssueService extends BaseService
         if (!$info) {
             return ['code' => self::NOT, 'msg' => '期号不存在'];
         }
-        if ($info->status == PcIssue::STATUS_DRAW) {
-            return ['code' => self::NOT, 'msg' => '期号状态不正确'];
-        }
+//        if ($info->status == PcIssue::STATUS_DRAW) {
+//            return ['code' => self::NOT, 'msg' => '期号状态不正确'];
+//        }
 
         $winArr = array_map('intval', explode(',', $winning_numbers));
         // 计算中奖