cfmgrv4 init...10
This commit is contained in:
parent
8f6632dd4d
commit
efeb2df32e
@ -58,20 +58,16 @@ class RecordController extends CloudflareController
|
|||||||
}
|
}
|
||||||
|
|
||||||
//생성
|
//생성
|
||||||
// protected function create_process_result($message): RedirectResponse|string
|
|
||||||
// {
|
|
||||||
// $this->init(__FUNCTION__);
|
|
||||||
// helper(['form']);
|
|
||||||
// $this->forms = ['attributes' => ['method' => "post",], 'hiddens' => []];
|
|
||||||
// return view(
|
|
||||||
// strtolower($this->view_path . $this->getService()->getClassPath() . "/create_result"),
|
|
||||||
// data: ['viewDatas' => $this->getViewDatas()]
|
|
||||||
// );
|
|
||||||
// }
|
|
||||||
protected function create_process_result($message): RedirectResponse|string
|
protected function create_process_result($message): RedirectResponse|string
|
||||||
{
|
{
|
||||||
MyLogService::save($this->getService(), __FUNCTION__, $this->myauth, $message, DEFAULTS['STATUS']);
|
MyLogService::save($this->getService(), __FUNCTION__, $this->myauth, $message, DEFAULTS['STATUS']);
|
||||||
return redirect()->to($this->myauth->popPreviousUrl())->with('error', $message);
|
$this->init(__FUNCTION__);
|
||||||
|
helper(['form']);
|
||||||
|
$this->forms = ['attributes' => ['method' => "post",], 'hiddens' => []];
|
||||||
|
return view(
|
||||||
|
strtolower($this->view_path . $this->getService()->getClassPath() . "/create_result"),
|
||||||
|
data: ['viewDatas' => $this->getViewDatas()]
|
||||||
|
);
|
||||||
}
|
}
|
||||||
protected function create_init(string $action, $fields = []): void
|
protected function create_init(string $action, $fields = []): void
|
||||||
{
|
{
|
||||||
|
|||||||
@ -66,7 +66,13 @@ class ZoneController extends CloudflareController
|
|||||||
protected function create_process_result($message): RedirectResponse|string
|
protected function create_process_result($message): RedirectResponse|string
|
||||||
{
|
{
|
||||||
MyLogService::save($this->getService(), __FUNCTION__, $this->myauth, $message, DEFAULTS['STATUS']);
|
MyLogService::save($this->getService(), __FUNCTION__, $this->myauth, $message, DEFAULTS['STATUS']);
|
||||||
return redirect()->to($this->myauth->popPreviousUrl())->with('error', $message);
|
$this->init(__FUNCTION__);
|
||||||
|
helper(['form']);
|
||||||
|
$this->forms = ['attributes' => ['method' => "post",], 'hiddens' => []];
|
||||||
|
return view(
|
||||||
|
strtolower($this->view_path . $this->getService()->getClassPath() . "/create_result"),
|
||||||
|
data: ['viewDatas' => $this->getViewDatas()]
|
||||||
|
);
|
||||||
}
|
}
|
||||||
protected function create_init(string $action, $fields = []): void
|
protected function create_init(string $action, $fields = []): void
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user