public function actionUcTest() { $get = ['action' => 'synlogin', 'uid' => 10]; $post = []; $ucReceiver = new UcReceiver(['get' => $get, 'post' => $post]); return $ucReceiver->response(); }
/** * @return mixed */ public function response() { $response = call_user_func([UcReceiver::className(), $this->get['action']]); return $response; }