|
|
@@ -40,7 +40,7 @@ class MemberModel extends BaseModel
|
|
|
return $this->hasOne(MemberModel::class, 'id','parent_id')
|
|
|
->with(['account'])
|
|
|
->where(['status'=>1,'mark'=>1])
|
|
|
- ->select(['id', 'nickname', 'username','avatar', 'mobile','company','department','position', 'status']);
|
|
|
+ ->select(['id', 'nickname','realname','avatar', 'mobile','company','department','position', 'status']);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -51,7 +51,7 @@ class MemberModel extends BaseModel
|
|
|
return $this->hasOne(MemberModel::class, 'parent_id','id')
|
|
|
->with(['account'])
|
|
|
->where(['status'=>1,'mark'=>1])
|
|
|
- ->select(['id', 'nickname','avatar', 'username','company','department','position', 'mobile', 'status']);
|
|
|
+ ->select(['id', 'nickname','avatar', 'realname','company','department','position', 'mobile', 'status']);
|
|
|
}
|
|
|
|
|
|
|