|
|
@@ -169,8 +169,9 @@ class Issue extends Controller
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- return $this->error(HttpStatus::CUSTOM_ERROR, $winning_numbers);
|
|
|
-
|
|
|
+ if (empty($winning_numbers)) {
|
|
|
+ return $this->error(HttpStatus::CUSTOM_ERROR, '自动开奖失败,请手动填写开奖号码');
|
|
|
+ }
|
|
|
}
|
|
|
if (explode(',', $winning_numbers) < 3) {
|
|
|
return $this->error(HttpStatus::CUSTOM_ERROR, '开奖号码格式错误');
|