master
cody 2 months ago
parent 4d29412198
commit 84e6b0481f

@ -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, '授课老师字段不存在']);
}

Loading…
Cancel
Save