|
|
|
@ -30,7 +30,7 @@ class RecoveryOrder extends BaseRecoveryOrder |
|
|
|
|
* @throws DbException |
|
|
|
|
* @author: wanghousheng |
|
|
|
|
*/ |
|
|
|
|
public function getUserList(array $where = [], int $listRows = 15): Paginator |
|
|
|
|
public function getUserList(array $where = [], int $listRows = 15, array $with = []): Paginator |
|
|
|
|
{ |
|
|
|
|
// 当前用户ID |
|
|
|
|
$userId = UserService::getCurrentLoginUserId(); |
|
|
|
@ -39,6 +39,7 @@ class RecoveryOrder extends BaseRecoveryOrder |
|
|
|
|
} |
|
|
|
|
//分销商工程师 |
|
|
|
|
return $this |
|
|
|
|
->with($with) |
|
|
|
|
->where($where) |
|
|
|
|
->order(['create_time' => 'desc']) |
|
|
|
|
->paginate($listRows); |
|
|
|
|