dataLists(new AiConfigLists()); } public function detail() { $params = (new AiConfigValidate())->goCheck('detail'); $result = AiConfigLogic::detail($params); return $this->data($result); } public function edit() { $params = (new AiConfigValidate())->post()->goCheck('edit'); $result = AiConfigLogic::edit($params); if (true === $result) { return $this->success('编辑成功', [], 1, 1); } return $this->fail(AiConfigLogic::getError()); } }