作者 王智

daima

@@ -50,13 +50,13 @@ class Renwu extends Backend @@ -50,13 +50,13 @@ class Renwu extends Backend
50 } 50 }
51 list($where, $sort, $order, $offset, $limit) = $this->buildparams(); 51 list($where, $sort, $order, $offset, $limit) = $this->buildparams();
52 $total = $this->model 52 $total = $this->model
53 - ->with(['user', 'vip', 'xi_id', 'zhao_id']) 53 + ->with(['user', 'vip', 'xiid', 'zhaoid'])
54 ->where($where) 54 ->where($where)
55 ->order($sort, $order) 55 ->order($sort, $order)
56 ->count(); 56 ->count();
57 57
58 $list = $this->model 58 $list = $this->model
59 - ->with(['user', 'vip', 'xi_id', 'zhao_id']) 59 + ->with(['user', 'vip', 'xiid', 'zhaoid'])
60 ->where($where) 60 ->where($where)
61 ->order($sort, $order) 61 ->order($sort, $order)
62 ->limit($offset, $limit) 62 ->limit($offset, $limit)