public function actionIndex() { $params = $this->getQuery(); $params['accountId'] = $this->getAccountId(); return Coupon::search($params); }