|
|
|
|
@ -278,9 +278,9 @@ class CourseContentController extends BaseController
|
|
|
|
|
if (!in_array('日期', $keyList)) {
|
|
|
|
|
return $this->fail([ResponseCode::ERROR_BUSINESS, '日期字段不存在']);
|
|
|
|
|
}
|
|
|
|
|
if (!in_array('时间', $keyList)) {
|
|
|
|
|
return $this->fail([ResponseCode::ERROR_BUSINESS, '时间字段不存在']);
|
|
|
|
|
}
|
|
|
|
|
// if (!in_array('时间', $keyList)) {
|
|
|
|
|
// return $this->fail([ResponseCode::ERROR_BUSINESS, '时间字段不存在']);
|
|
|
|
|
// }
|
|
|
|
|
if (!in_array('授课老师', $keyList)) {
|
|
|
|
|
return $this->fail([ResponseCode::ERROR_BUSINESS, '授课老师字段不存在']);
|
|
|
|
|
}
|
|
|
|
|
|