|
@@ -453,7 +453,8 @@ class Agent
|
|
|
return [];
|
|
|
}
|
|
|
if (empty($this->nextUserTeam)) {
|
|
|
- $this->nextUserTeam = UserModel::where(['parent_user_id' => $this->user->id, 'status' => 'normal'])->column('id');
|
|
|
+ // status字段:1=正常,0=禁用
|
|
|
+ $this->nextUserTeam = UserModel::where(['parent_user_id' => $this->user->id, 'status' => 1])->column('id');
|
|
|
}
|
|
|
return $this->nextUserTeam;
|
|
|
}
|