作者 郭文星

123

@@ -42,7 +42,6 @@ class Reservoirflow extends Backend @@ -42,7 +42,6 @@ class Reservoirflow extends Backend
42 */ 42 */
43 public function index() 43 public function index()
44 { 44 {
45 - print_r(123);return;  
46 //当前是否为关联查询 45 //当前是否为关联查询
47 $this->relationSearch = true; 46 $this->relationSearch = true;
48 //设置过滤方法 47 //设置过滤方法
@@ -59,6 +58,7 @@ class Reservoirflow extends Backend @@ -59,6 +58,7 @@ class Reservoirflow extends Backend
59 ->where($where) 58 ->where($where)
60 ->order($sort, $order) 59 ->order($sort, $order)
61 ->paginate($limit); 60 ->paginate($limit);
  61 + print_r($list);return;
62 62
63 foreach ($list as $row) { 63 foreach ($list as $row) {
64 $row->visible(['id','number','value','reporttime','createtime']); 64 $row->visible(['id','number','value','reporttime','createtime']);