'0', 'acid' => '', 'qid' => '', 'openid' => '', 'type' => '0', 'qrcid' => '0', 'scene_str' => '', 'name' => '', 'createtime' => '0', ); public function searchWithTime($start_time, $end_time) { return $this->query->where('createtime >=', $start_time)->where('createtime <=', $end_time); } public function searchWithKeyword($keyword) { return $this->query->where('name LIKE', "%{$keyword}%"); } public function searchWithUniacid($uniacid) { return $this->query->where('uniacid', $uniacid); } }