调整农作物搜索

dev
vine_liutk 2022-11-03 16:48:35 +08:00
parent 51c5e7e503
commit 9282c742db
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class CropFilter extends ModelFilter
$q = $this;
switch ($type) {
case 'top':
$q->whereNull('parent_id');
$q->where('parent_id', 0);
break;
case 'all':
break;