attributes = get_params(); $form->store_id = get_store_id(); return $this->asJson($form->workerLevelList()); } // 服务分类设置 public function actionWorkerLevelSave() { $form = new WorkerLevelForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->workerLevelSave()); } // 服务分类状态修改 public function actionWorkerLevelStatus() { $form = new WorkerLevelForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->workerLevelStatus()); } }