|
|
@@ -149,7 +149,7 @@ class User extends Api
|
|
|
$list['total'] = $userModel::where('parent_id', $this->auth->id)->count();
|
|
|
// 直推列表
|
|
|
$list['data'] = $userModel::where('parent_id', $this->auth->id)
|
|
|
- ->field("address,create_time,nickname, REPLACE(phone, SUBSTRING(phone, 4, 4), '****') as phone")
|
|
|
+ ->field("address,create_time,nickname,is_super,direct_super,REPLACE(phone, SUBSTRING(phone, 4, 4), '****') as phone")
|
|
|
->order('id desc')
|
|
|
->paginate($this->pageSize);
|
|
|
$this->success('', $list);
|