|
|
@@ -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));
|
|
|
// 计算中奖
|