store_id = get_store_id(); return $this->asJson($form->getData()); } public function actionEdit () { $form = new UserCenterForm(); $form->store_id = get_store_id(); $form->data = post_params('data') ?: get_params('data'); return $this->asJson($form->saveData()); } }