cfmgrv4 init...10
This commit is contained in:
parent
1b44421620
commit
5ee72319de
@ -153,10 +153,9 @@ class ZoneController extends CloudflareController
|
|||||||
$entity->records = $record_entitys;
|
$entity->records = $record_entitys;
|
||||||
}
|
}
|
||||||
$this->entitys = $entitys;
|
$this->entitys = $entitys;
|
||||||
dd($this->getViewDatas());
|
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
log_message('debug', static::class . '->' . __FUNCTION__ . "에서 오류:" . $e->getMessage());
|
log_message('debug', static::class . '->' . __FUNCTION__ . "에서 오류:" . $e->getMessage());
|
||||||
throw new \Exception(static::class . '->' . __FUNCTION__ . "에서 오류:" . $e->getMessage());
|
throw new RuntimeException(static::class . '->' . __FUNCTION__ . "에서 오류:" . $e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -174,7 +174,7 @@ abstract class CommonController extends BaseController
|
|||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
//Transaction Rollback
|
//Transaction Rollback
|
||||||
$this->getService()->getModel()->transRollback();
|
$this->getService()->getModel()->transRollback();
|
||||||
return $this->create_process_result($e->getMessage());
|
return $this->create_process_failed($e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
final public function create(): RedirectResponse|string
|
final public function create(): RedirectResponse|string
|
||||||
@ -262,7 +262,7 @@ abstract class CommonController extends BaseController
|
|||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
//Transaction Rollback
|
//Transaction Rollback
|
||||||
$this->getService()->getModel()->transRollback();
|
$this->getService()->getModel()->transRollback();
|
||||||
return $this->modify_process_result($e->getMessage());
|
return $this->modify_process_failed($e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
final public function modify(int $uid): RedirectResponse|string
|
final public function modify(int $uid): RedirectResponse|string
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user