attributes = get_params(); $form->store_id = get_store_id(); return $this->asJson($form->workerCateList()); } // 服务分类设置 public function actionWorkerCateSave() { $form = new WorkerCateForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->workerCateSave()); } // 服务分类状态修改 public function actionWorkerCateStatus() { $form = new WorkerCateForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->workerCateStatus()); } }