[ 'class' => LoginBehavior::className(), ], ]); } /** * 搜索开户网点 */ public function actionIndex() { $from = new CardBankActionFrom(); $from->attributes = \Yii::$app->request->get(); $data = $from->search(); return $this->responseHandler($data); } }