dataLists(new CopywritingLists()); } public function delete() { try { $params = (new SvCopywritingValidate())->post()->goCheck('delete'); $result = SvCopywritingLogic::deleteSvCopywriting($params); if ($result) { return $this->success(); } return $this->fail(SvCopywritingLogic::getError()); } catch (HttpResponseException $e) { return $this->fail($e->getResponse()->getData()['msg'] ?? ''); } } }