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