cfmgrv4 init...10
This commit is contained in:
parent
b9cfd457b5
commit
9cba30297e
@ -11,6 +11,7 @@ use App\Models\Cloudflare\ZoneModel;
|
||||
use App\Services\Cloudflare\RecordService;
|
||||
use CodeIgniter\HTTP\RedirectResponse;
|
||||
use App\Services\MyLogService;
|
||||
use RuntimeException;
|
||||
|
||||
class RecordController extends CloudflareController
|
||||
{
|
||||
@ -81,6 +82,7 @@ class RecordController extends CloudflareController
|
||||
}
|
||||
protected function create_process(): void
|
||||
{
|
||||
try {
|
||||
//DB작업도 Socket에서 다 처리하므로 parent::create_process()하면 않됨
|
||||
$this->formDatas = $this->create_validate($this->action, $this->fields);
|
||||
//Type이 A형식일경우 IP형태인지 확인
|
||||
@ -116,6 +118,9 @@ class RecordController extends CloudflareController
|
||||
$entitys[] = $entity;
|
||||
}
|
||||
$this->entitys = $entitys;
|
||||
} catch (\Throwable $e) {
|
||||
throw new RuntimeException(static::class . '->' . __FUNCTION__ . "에서 오류:" . $e->getMessage());
|
||||
}
|
||||
}
|
||||
//수정 (modify,toggle,batchjob사용)
|
||||
protected function modify_process(mixed $uid): void
|
||||
|
||||
Loading…
Reference in New Issue
Block a user