attributes = all_params(); $from->socialite = $this->socialite; $from->store_id = get_store_id(); return $this->asJson($from->codeAnalysis()); } public function actionPhone() { $from = new AuthForm(); $from->mini_id = get_params('mini_id'); $from->attributes = post_params(); $from->socialite = $this->socialite; $from->store_id = get_store_id(); return $this->asJson($from->analysisPhone()); } public function actionLogin() { $from = new AuthForm(); $from->mini_id = get_params('mini_id'); $from->attributes = post_params(); $from->socialite = $this->socialite; $from->store_id = get_store_id(); return $this->asJson($from->login()); } }