dbms_init...1
This commit is contained in:
parent
598feceb38
commit
6dcbc493f3
@ -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
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user