master
cody 5 months ago
parent 10cb98b015
commit 9df18688c0

@ -86,7 +86,8 @@ class CourseContentController extends BaseController
} }
// notnull搜索 // notnull搜索
if ($op == 'notnull') { if ($op == 'notnull') {
$query->whereNotNull($key); // 不是null并且不是空数组
$query->whereNotNull($key)->where($key, '!=', []);
} }
// 范围搜索 // 范围搜索
if ($op == 'range') { if ($op == 'range') {

Loading…
Cancel
Save