attributes = get_params(); $form->store_id = get_store_id(); return $this->asJson($form->getList()); } //修改状态 public function actionSetStatus() { $form = new CommunityForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->setStatus()); } //删除 public function actionDel() { $form = new CommunityForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->del()); } }