diff --git a/app/Controllers/Admin/Cloudflare/RecordController.php b/app/Controllers/Admin/Cloudflare/RecordController.php index 971e401..c142536 100644 --- a/app/Controllers/Admin/Cloudflare/RecordController.php +++ b/app/Controllers/Admin/Cloudflare/RecordController.php @@ -57,6 +57,16 @@ class RecordController extends CloudflareController } //생성 + protected function create_process_result($message): RedirectResponse|string + { + $this->init(__FUNCTION__); + helper(['form']); + $this->forms = ['attributes' => ['method' => "post",], 'hiddens' => []]; + return view( + strtolower($this->view_path . $this->getService()->getClassPath() . "/create_result"), + data: ['viewDatas' => $this->getViewDatas()] + ); + } protected function create_init(string $action, $fields = []): void { $fields = [ @@ -105,16 +115,6 @@ class RecordController extends CloudflareController } $this->entitys = $entitys; } - protected function create_process_result($message): RedirectResponse|string - { - $this->init(__FUNCTION__); - helper(['form']); - $this->forms = ['attributes' => ['method' => "post",], 'hiddens' => []]; - return view( - strtolower($this->view_path . $this->getService()->getClassPath() . "/create_result"), - data: ['viewDatas' => $this->getViewDatas()] - ); - } //수정 (modify,toggle,batchjob사용) protected function modify_process(mixed $uid): void { diff --git a/app/Controllers/Admin/Cloudflare/ZoneController.php b/app/Controllers/Admin/Cloudflare/ZoneController.php index a469e42..66d6a00 100644 --- a/app/Controllers/Admin/Cloudflare/ZoneController.php +++ b/app/Controllers/Admin/Cloudflare/ZoneController.php @@ -63,6 +63,16 @@ class ZoneController extends CloudflareController } //생성 + protected function create_process_result($message): RedirectResponse|string + { + $this->init(__FUNCTION__); + helper(['form']); + $this->forms = ['attributes' => ['method' => "post",], 'hiddens' => []]; + return view( + strtolower($this->view_path . $this->getService()->getClassPath() . "/create_result"), + data: ['viewDatas' => $this->getViewDatas()] + ); + } protected function create_init(string $action, $fields = []): void { $fields = [