...
|
...
|
@@ -262,7 +262,7 @@ class Index extends Api |
|
|
'user_id' => $user['id'],
|
|
|
'company_id' => $company_id,
|
|
|
'name' => $user['nickname'],
|
|
|
'mobile' => $user['mobile'],
|
|
|
'phone' => $user['mobile'],
|
|
|
'status' => '1'
|
|
|
]);
|
|
|
// 新增员工记录
|
...
|
...
|
@@ -270,7 +270,7 @@ class Index extends Api |
|
|
'company_id' => $company_id,
|
|
|
'user_id' => $user['id'],
|
|
|
'name' => $user['nickname'],
|
|
|
'mobile' => $user['mobile'],
|
|
|
'phone' => $user['mobile'],
|
|
|
'type' => '1'
|
|
|
]);
|
|
|
Db::commit();
|
...
|
...
|
|