|
@@ -713,8 +713,7 @@ class MemberService extends BaseService
|
|
|
];
|
|
];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- $list = $this->model->with(['account'])->from('member as a')
|
|
|
|
|
- ->leftJoin('account_statistics as b','b.user_id','=','a.id')
|
|
|
|
|
|
|
+ $list = $this->model->from('member as a')
|
|
|
->where(['a.parent_id'=>$userId,'b.state'=>1,'a.mark'=>1])
|
|
->where(['a.parent_id'=>$userId,'b.state'=>1,'a.mark'=>1])
|
|
|
->where(function($query) use($params){
|
|
->where(function($query) use($params){
|
|
|
$keyword = isset($params['keyword'])? $params['keyword'] : '';
|
|
$keyword = isset($params['keyword'])? $params['keyword'] : '';
|