...
|
...
|
@@ -58,14 +58,14 @@ class Goods extends Backend |
|
|
$total = $this->model
|
|
|
->with(['admin'])
|
|
|
->where($where)
|
|
|
->where(['admin_deletetime'=>0,'admin_is_up'=>1])
|
|
|
->where(['admin_deletetime'=>0])
|
|
|
->order($sort, $order)
|
|
|
->count();
|
|
|
|
|
|
$list = $this->model
|
|
|
->with(['admin'])
|
|
|
->where($where)
|
|
|
->where(['admin_deletetime'=>0,'admin_is_up'=>1])
|
|
|
->where(['admin_deletetime'=>0])
|
|
|
->order($sort, $order)
|
|
|
->limit($offset, $limit)
|
|
|
->select();
|
...
|
...
|
|