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