机构新增用户
This commit is contained in:
@@ -165,7 +165,7 @@ class OrganizationUser extends BaseController
|
||||
}
|
||||
$addDate = ['topOrgId' => $topOrgId, 'organizationId' => $organizationId, 'uname' => $uname,
|
||||
'bizId' => $bizId, 'status' => 0, 'teamId' => 0];
|
||||
if ($re['userId']) {
|
||||
if ($re && $re['status'] != -1) {
|
||||
$this->mdSyliveUser->update($addDate, ['userId' => $re['userId']]);
|
||||
$this->return_response([], '绑定用户成功');
|
||||
} else {
|
||||
@@ -322,4 +322,4 @@ class OrganizationUser extends BaseController
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user