trafficmonitor init...1

This commit is contained in:
choi.jh 2025-11-13 14:20:48 +09:00
parent 506890535e
commit efa94221f3
5 changed files with 10 additions and 7 deletions

View File

@ -17,7 +17,7 @@ class CollectorController extends AdminController
if ($this->service === null) { if ($this->service === null) {
$this->service = service('collectorservice'); $this->service = service('collectorservice');
} }
$this->addActionPaths($this::PATH); $this->addActionPaths(self::PATH);
} }
protected function createDTO(array $formDatas): CollectorDTO protected function createDTO(array $formDatas): CollectorDTO
{ {

View File

@ -17,7 +17,7 @@ class MylogController extends AdminController
if ($this->service === null) { if ($this->service === null) {
$this->service = service('mylogservice'); $this->service = service('mylogservice');
} }
$this->addActionPaths($this::PATH); $this->addActionPaths(self::PATH);
} }
protected function createDTO(array $formDatas): MylogDTO protected function createDTO(array $formDatas): MylogDTO
{ {

View File

@ -17,7 +17,7 @@ class TrafficController extends AdminController
if ($this->service === null) { if ($this->service === null) {
$this->service = service('trafficservice'); $this->service = service('trafficservice');
} }
$this->addActionPaths($this::PATH); $this->addActionPaths(self::PATH);
} }
protected function createDTO(array $formDatas): TrafficDTO protected function createDTO(array $formDatas): TrafficDTO
{ {
@ -73,8 +73,11 @@ class TrafficController extends AdminController
} }
public function dashboard(): string public function dashboard(): string
{ {
$this->action_init_process(__FUNCTION__); return $this->action_render_process(
return $this->action_render_process($this->getActionPaths(), __FUNCTION__, $this->getViewDatas()); $this->getActionPaths(),
self::PATH . DIRECTORY_SEPARATOR . __FUNCTION__,
$this->getViewDatas()
);
} }
/** /**
* AJAX 요청을 처리하고, 모델에서 집계된 데이터를 JSON 형식으로 반환합니다. * AJAX 요청을 처리하고, 모델에서 집계된 데이터를 JSON 형식으로 반환합니다.

View File

@ -17,7 +17,7 @@ class UserController extends AdminController
if ($this->service === null) { if ($this->service === null) {
$this->service = service('userservice'); $this->service = service('userservice');
} }
$this->addActionPaths($this::PATH); $this->addActionPaths(self::PATH);
} }
protected function createDTO(array $formDatas): UserDTO protected function createDTO(array $formDatas): UserDTO
{ {

View File

@ -25,7 +25,7 @@ class Collector extends CommonController
$this->service->getFormService()->setFormOptions($filters); $this->service->getFormService()->setFormOptions($filters);
$this->service->getFormService()->setBatchjobFilters($filters); $this->service->getFormService()->setBatchjobFilters($filters);
} }
$this->addActionPaths($this::PATH); $this->addActionPaths(self::PATH);
} }
protected function createDTO(array $formDatas): CollectorDTO protected function createDTO(array $formDatas): CollectorDTO
{ {