Ken 1 天之前
父节点
当前提交
e91a9d7192
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      app/Services/IssueService.php

+ 5 - 1
app/Services/IssueService.php

@@ -837,7 +837,11 @@ class IssueService extends BaseService
                 $key = 'lottery_numbers_' . $v->issue_no;
                 $key = 'lottery_numbers_' . $v->issue_no;
                 $combo = implode(' ', $combo);
                 $combo = implode(' ', $combo);
                 if (Cache::add($key, $winning_numbers, 100)) {
                 if (Cache::add($key, $winning_numbers, 100)) {
-                    self::lotteryDraw($v->id, $winning_numbers, $combo, '');
+                    $res = self::lotteryDraw($v->id, $winning_numbers, $combo, '');
+                    if ($res['code'] == self::NOT) {
+                        Log::error("开奖失败:{$v->issue_no}   {$res['meg']} ");
+                    }
+
                     $new = false;
                     $new = false;
                 }
                 }