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