master
cody 5 months ago
parent 5f42b62ded
commit 11c1a24c75

@ -82,7 +82,7 @@ class CourseContentController extends BaseController
} }
// null搜索 // null搜索
if ($op == 'null') { if ($op == 'null') {
$query->whereNull($key)->orWhereRaw('json_length(' . $key . ') =', 0); $query->whereNull($key)->orWhereRaw("json_length($key) = 0");
} }
// notnull搜索 // notnull搜索
if ($op == 'notnull') { if ($op == 'notnull') {

Loading…
Cancel
Save