diff --git a/app/Services/Cloudflare/AccountService.php b/app/Services/Cloudflare/AccountService.php index 8eb22b1..8484f22 100644 --- a/app/Services/Cloudflare/AccountService.php +++ b/app/Services/Cloudflare/AccountService.php @@ -45,9 +45,11 @@ class AccountService extends CloudflareService { //부모데이터정의 $this->setParentEntity($parent_entity); + $entity = $this->getModel()->create($formDatas); //생성값 formDatas Log남기기 - $this->add_MylogTrait(__FUNCTION__, $formDatas); - return $this->getModel()->create($formDatas); + $this->add_MylogTrait(__FUNCTION__, $formDatas, $entity); + + return $entity; } public function modify(AuthEntity $parent_entity, AccountEntity $entity, array $formDatas): AccountEntity