diff --git a/app/controller/AgentTeam.php b/app/controller/AgentTeam.php index 525ca4e..759704e 100644 --- a/app/controller/AgentTeam.php +++ b/app/controller/AgentTeam.php @@ -39,9 +39,11 @@ class AgentTeam extends BaseController $limit = $request['limit'] ?? 10; + $identity = $request['identity'] ?? 3; + # 代理id查询 启用用户 $agentData = $this->request->userInfo; - $where = ['aid' => $agentData['id'], 'status' => 1]; + $where = ['aid' => $agentData['id'], 'status' => 1, 'identity' => $identity]; $UserModel = new UserModel();