|
|
@@ -180,7 +180,7 @@ class Issue extends Controller
|
|
|
$combo = IssueService::getCombo($winArr);
|
|
|
$ret = IssueService::lotteryDraw($id, $winning_numbers, $combo, "");
|
|
|
if ($ret['code'] == BaseService::NOT) {
|
|
|
- return $this->error($ret['code'], $ret['error'] ?: $ret['msg']);
|
|
|
+ return $this->error($ret['code'], isset($ret['error']) ?? $ret['msg']);
|
|
|
}
|
|
|
return $this->success([], $ret['msg']);
|
|
|
}
|