作者 王智

daima

@@ -64,11 +64,10 @@ class SellerTalk extends Backend @@ -64,11 +64,10 @@ class SellerTalk extends Backend
64 64
65 $row->getRelation('user')->visible(['avatar', 'nickname']); 65 $row->getRelation('user')->visible(['avatar', 'nickname']);
66 $row->getRelation('seller')->visible(['title', 'avatar']); 66 $row->getRelation('seller')->visible(['title', 'avatar']);
  67 + dump($row['title']);
67 } 68 }
68 // foreach ($list as $k => $v) { 69 // foreach ($list as $k => $v) {
69 // } 70 // }
70 - dump($list);  
71 - die;  
72 $list = collection($list)->toArray(); 71 $list = collection($list)->toArray();
73 $result = array("total" => $total, "rows" => $list); 72 $result = array("total" => $total, "rows" => $list);
74 73