Automation init...3
This commit is contained in:
parent
2dc97d782e
commit
45c8cd02db
@ -39,7 +39,7 @@ class AccountController extends MyCloudflare
|
||||
$this->_email = $this->request->getVar('email');
|
||||
$this->_api_key = $this->request->getVar('key');
|
||||
//전송
|
||||
$result = $this->getMySocket()->create($this->_email);
|
||||
$result = $this->getMySocket()->create_process($this->_email);
|
||||
$formDatas = [];
|
||||
$formDatas['key'] = $this->_api_key;
|
||||
$entity = $this->getMyStorage()->create_process($result, $formDatas);
|
||||
|
||||
@ -43,7 +43,7 @@ class AccountController extends MyCloudflare
|
||||
$this->_email = $this->request->getVar('email');
|
||||
$this->_api_key = $this->request->getVar('key');
|
||||
//전송
|
||||
$result = $this->getMySocket()->create($this->_email);
|
||||
$result = $this->getMySocket()->create_process($this->_email);
|
||||
$formDatas = [];
|
||||
$formDatas['key'] = $this->_api_key;
|
||||
$entity = $this->getMyStorage()->create_process($result, $formDatas);
|
||||
|
||||
@ -11,7 +11,7 @@ class AccountSocket extends CloudflareSocket
|
||||
parent::__construct($email, $api_key);
|
||||
}
|
||||
|
||||
final public function create(string $name, string $type = "standard")
|
||||
final public function create_process(string $name, string $type = "standard")
|
||||
{
|
||||
$datas = [
|
||||
'name' => $name . "'s Account",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user