wesmiler 2 лет назад
Родитель
Сommit
c1cbfaae7c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/Api/MessageService.php

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

@@ -160,7 +160,7 @@ class MessageService extends BaseService
         }
 
         $field = ['title','type','to_uid','description','is_read','create_time'];
-        $datas = $this->model->where(['to_uid'=> $userId,'status'=>1,'marks'=>1])
+        $datas = $this->model->where(['to_uid'=> $userId,'status'=>1,'mark'=>1])
             ->whereIn('type', $types)
             ->groupBy('type')
             ->orderBy('type','asc')