wesmiler 2 éve
szülő
commit
b0cdb724fd
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/Services/Api/MessageService.php

+ 1 - 1
app/Services/Api/MessageService.php

@@ -162,7 +162,7 @@ class MessageService extends BaseService
         }
 
         $where = ['a.status' => 1, 'a.mark' => 1];
-        $field = ['a.id', 'a.msg_type','a.chat_key','a.live_id', 'a.description', 'a.message', 'a.from_uid', 'a.to_uid', 'a.create_time', 'a.status'];
+        $field = ['a.id', 'a.msg_type','a.chat_key','a.live_id', 'a.description', 'a.message','b.nickname', 'a.from_uid', 'a.to_uid', 'a.create_time', 'a.status'];
         $datas = LiveChatModel::from('live_chat as a')
             ->leftJoin('member as b', 'b.id', '=', 'a.from_uid')
             ->leftJoin('member as c', 'c.id', '=', 'a.to_uid')