作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

加入企业代码修改

... ... @@ -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();
... ...