作者 王智

daima

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