Browse Source

增加代理查询条件

master
wanghongjun 2 years ago
parent
commit
a6240f36c3
  1. 4
      app/controller/User.php

4
app/controller/User.php

@ -44,7 +44,9 @@ class User extends BaseController
} }
} }
# 代理id查询 # 代理id查询
if (isset($request['aid']) && !empty($request['aid'])) $where['aid'] = $request['aid']; if ($agentData = Session::get('login_agent_user_data')) {
$where['aid'] = $agentData['id'];
}
# 查询用户列表 # 查询用户列表
$field = 'id,aid,phone,avatar,balance,withdrawal_balance'; $field = 'id,aid,phone,avatar,balance,withdrawal_balance';

Loading…
Cancel
Save