|
|
@ -128,7 +128,7 @@ class AuthApiController extends BaseAuthApiController |
|
|
|
$dataAgentInsert = [ |
|
|
|
$dataAgentInsert = [ |
|
|
|
'name' => $dataInsert['name'] ?? '', |
|
|
|
'name' => $dataInsert['name'] ?? '', |
|
|
|
'type' => self::AGENTS, |
|
|
|
'type' => self::AGENTS, |
|
|
|
// 'grant' => $this->_default_grant_two, |
|
|
|
'email' => $dataInsert['email']??null, |
|
|
|
'grant' => !empty($grantParent) ? $grantParent + 1 : 1, |
|
|
|
'grant' => !empty($grantParent) ? $grantParent + 1 : 1, |
|
|
|
'phone' => $dataInsert['phone'] ?? '', |
|
|
|
'phone' => $dataInsert['phone'] ?? '', |
|
|
|
'address' => $dataInsert['address'] ?? '', |
|
|
|
'address' => $dataInsert['address'] ?? '', |
|
|
|