Browse Source

新增传参 查询身份identity

master
wanghongjun 2 years ago
parent
commit
bb39676785
  1. 4
      app/controller/AgentTeam.php

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

Loading…
Cancel
Save