finish api load

main
nocode 1 year ago
parent 000512bd28
commit 4be4549892
  1. 2
      app/Http/Controllers/Api/AuthApiController.php

@ -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'] ?? '',

Loading…
Cancel
Save