public function actionIndex() { $params = $this->getQuery(); $accountId = $this->getAccountId(); return Goods::search($params, $accountId); }