|
@@ -89,8 +89,8 @@ class PcIssueService extends BaseService
|
|
|
$combo = implode(' ', $combo);
|
|
$combo = implode(' ', $combo);
|
|
|
|
|
|
|
|
if (Cache::add($key, $item->winning_numbers, 100)) {
|
|
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) {
|
|
if (!$info) {
|
|
|
return ['code' => self::NOT, 'msg' => '期号不存在'];
|
|
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));
|
|
$winArr = array_map('intval', explode(',', $winning_numbers));
|
|
|
// 计算中奖
|
|
// 计算中奖
|