|
@@ -79,6 +79,9 @@ class UniversityCourse extends Api
|
|
|
if (empty($params['phone'])) {
|
|
|
return $this->error('报名信息手机号不能为空');
|
|
|
}
|
|
|
+ if (empty($params['course_id'])) {
|
|
|
+ return $this->error('请选择抵扣券');
|
|
|
+ }
|
|
|
$user_id = $this->auth->id;
|
|
|
|
|
|
$info = UniversityCourseModel::with([
|