Exemplo n.º 1
0
 public function actionValidateCode()
 {
     $model = new RegisterForm();
     $post = Yii::$app->request->post();
     $model->telephone = $post['telephone'];
     $model->testcode = $post['confirmCode'];
     $model->ValidateCode();
 }