wesmiler hace 2 años
padre
commit
2b681564fa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/Api/MessageService.php

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

@@ -215,7 +215,7 @@ class MessageService extends BaseService
         $where = ['a.type'=>9,'a.status'=> 1,'a.mark'=>1];
         $where = ['a.type'=>9,'a.status'=> 1,'a.mark'=>1];
         $expire = ConfigService::make()->getConfigByCode('chat_log_expire');
         $expire = ConfigService::make()->getConfigByCode('chat_log_expire');
         $expire = $expire? $expire*86400 : 60*86400;
         $expire = $expire? $expire*86400 : 60*86400;
-        $field = ['a.id','a.title','a.type','a.msg_type','a.chat_type','a.description','a.content','a.from_user_name','a.from_user_avatar','a.from_uid','a.to_user_name','a.to_user_avatar','a.to_uid','a.create_time','a.is_read','a.pages','a.status'];
+        $field = ['a.id','a.title','a.type','a.msg_type','a.chat_key','a.chat_type','a.description','a.content','a.from_user_name','a.from_user_avatar','a.from_uid','a.to_user_name','a.to_user_avatar','a.to_uid','a.create_time','a.is_read','a.status'];
         $datas = $this->model->from('message as a')
         $datas = $this->model->from('message as a')
             ->where($where)
             ->where($where)
             ->where('a.chat_key','>', 0)
             ->where('a.chat_key','>', 0)