调整搜索

dev
vine_liutk 2022-11-14 11:33:11 +08:00
parent 567ce7a3e8
commit bae49d34d8
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ class AgriculturalBaseFilter extends ModelFilter
return $this->where('type', $type); return $this->where('type', $type);
} }
public function parentId($parentId) public function parent($parent)
{ {
return $this->where('parent_id', $parentId); return $this->where('parent_id', $parent);
} }
} }