|
@@ -216,7 +216,7 @@ class SystemUserTask extends BaseModel
|
|
|
foreach ($directSubordinateUids as $value){
|
|
foreach ($directSubordinateUids as $value){
|
|
|
@file_put_contents('quanju.txt', $value . "-这谁的uid啊\r\n", 8);
|
|
@file_put_contents('quanju.txt', $value . "-这谁的uid啊\r\n", 8);
|
|
|
$teamUids2 = UserController::getAllTeamMembers($value); //获取直推下级的团队所有成员
|
|
$teamUids2 = UserController::getAllTeamMembers($value); //获取直推下级的团队所有成员
|
|
|
-
|
|
|
|
|
|
|
+ @file_put_contents('quanju.txt', json_encode($teamUids2) . "-你直属下级呢\r\n", 8);
|
|
|
if (!empty($teamUids2)) {
|
|
if (!empty($teamUids2)) {
|
|
|
$teamUids2=array_unique($teamUids2);
|
|
$teamUids2=array_unique($teamUids2);
|
|
|
$teamUids2=array_values($teamUids2);
|
|
$teamUids2=array_values($teamUids2);
|