filer
parent
f61ebd0606
commit
fc8d414a19
|
|
@ -34,10 +34,12 @@ class MonitorModeFilter extends ModelFilter
|
|||
};
|
||||
return $this->where('type', $type);
|
||||
}
|
||||
|
||||
/**
|
||||
* 分组
|
||||
*/
|
||||
public function groupTags($groupTags){
|
||||
return $this->whereRaw("FIND_IN_SET(group_tags,$groupTags)");
|
||||
public function groupTags($groupTags)
|
||||
{
|
||||
return $this->whereRaw("FIND_IN_SET(group_tags,'$groupTags')");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue