1
0
Fork 0
develop
panliang 2023-05-29 14:33:03 +08:00
parent f61ebd0606
commit fc8d414a19
1 changed files with 4 additions and 2 deletions

View File

@ -34,10 +34,12 @@ class MonitorModeFilter extends ModelFilter
}; };
return $this->where('type', $type); return $this->where('type', $type);
} }
/** /**
* 分组 * 分组
*/ */
public function groupTags($groupTags){ public function groupTags($groupTags)
return $this->whereRaw("FIND_IN_SET(group_tags,$groupTags)"); {
return $this->whereRaw("FIND_IN_SET(group_tags,'$groupTags')");
} }
} }