...
|
...
|
@@ -50,13 +50,13 @@ class Renwu extends Backend |
|
|
}
|
|
|
list($where, $sort, $order, $offset, $limit) = $this->buildparams();
|
|
|
$total = $this->model
|
|
|
->with(['user', 'vip'])
|
|
|
->with(['user', 'vip','user_xi','user_zhao'])
|
|
|
->where($where)
|
|
|
->order($sort, $order)
|
|
|
->count();
|
|
|
|
|
|
$list = $this->model
|
|
|
->with(['user', 'vip'])
|
|
|
->with(['user', 'vip','user_xi','user_zhao'])
|
|
|
->where($where)
|
|
|
->order($sort, $order)
|
|
|
->limit($offset, $limit)
|
...
|
...
|
|