', 0]; $where['where'][] = ['title', 'like', '%'.$keyword.'%']; $items = GoodsRepository::getInstance()->findListWithPaginate($where, $pageParams); $position = ['search_banner']; $slides = OperationRepository::getInstance()->slideListByPosition($position); $collectedIds = $this->authId ? AccountRepository::getInstance()->getCollectedIds($this->authId, $tag) : []; $this->data['items'] = $items; $this->data['collectedIds'] = $collectedIds; $this->data['slide'] = $slides; return $this->view(); } }