From 6dcbc493f31426b56851679a8742b540cfbc890d Mon Sep 17 00:00:00 2001 From: "choi.jh" Date: Mon, 9 Jun 2025 15:07:04 +0900 Subject: [PATCH] dbms_init...1 --- .../Admin/Customer/ServiceController.php | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/app/Controllers/Admin/Customer/ServiceController.php b/app/Controllers/Admin/Customer/ServiceController.php index 0345a5c..efab706 100644 --- a/app/Controllers/Admin/Customer/ServiceController.php +++ b/app/Controllers/Admin/Customer/ServiceController.php @@ -45,20 +45,20 @@ class ServiceController extends CustomerController } return $this->_serviceItemService; } - // protected function getResultSuccess(string $message = MESSAGES["SUCCESS"]): RedirectResponse|string - // { - // switch ($this->getAction()) { - // case 'index': - // $this->control = $this->getControlDatas(); - // $this->getHelper()->setViewDatas($this->getViewDatas()); - // $result = view($this->view_path . 'service' . DIRECTORY_SEPARATOR . $this->getAction(), ['viewDatas' => $this->getViewDatas()]); - // break; - // default: - // $result = parent::getResultSuccess($message); - // break; - // } - // return $result; - // } + protected function getResultSuccess(string $message = MESSAGES["SUCCESS"]): RedirectResponse|string + { + switch ($this->getAction()) { + case 'index': + $this->control = $this->getControlDatas(); + $this->getHelper()->setViewDatas($this->getViewDatas()); + $result = view($this->view_path . 'service' . DIRECTORY_SEPARATOR . $this->getAction(), ['viewDatas' => $this->getViewDatas()]); + break; + default: + $result = parent::getResultSuccess($message); + break; + } + return $result; + } //Index,FieldForm관련 protected function index_process(): array {