'', 'maxaccount' => '0', 'maxwxapp' => '0', 'maxwebapp' => '0', 'maxphoneapp' => '0', 'maxxzapp' => '0', 'maxaliapp' => '0', 'maxbaiduapp' => '0', 'maxtoutiaoapp' => '0', 'createtime' => '', ); public function searchWithGroupName($group_name) { $this->where('group_name', $group_name); return $this; } public function searchLikeGroupName($group_name) { $this->where("group_name LIKE", "%{$group_name}%"); return $this; } public function searchWithId($id) { $this->where('id', $id); return $this; } public function searchWithoutId($id) { $this->where('id !=', $id); return $this; } public function getCreateGroupInfo() { return $this->get(); } public function getCreateGroupInfoById($id) { return $this->where('id', $id)->get(); } public function getCreateGroupList() { return $this->getall(); } public function deleteById($id) { return $this->where('id', $id)->delete(); } }