attributes = get_params(); $form->store_id = get_store_id(); return $this->asJson($form->list()); } //设置团队等级 public function actionSetLevel() { $form = new TeamLevelForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->setLevel()); } //获取设置的信息 public function actionGetEditInfo() { $form = new TeamLevelForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); return $this->asJson($form->getEditInfo()); } //启用禁用删除 public function actionSetStatus() { $form = new TeamLevelForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->handle()); } }