Ver Fonte

wesmiler

wesmiler há 2 anos atrás
pai
commit
9b22298088
1 ficheiros alterados com 1 adições e 1 exclusões
  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,'mark'=>1])
+        $datas = $this->model->where(['to_uid'=> $userId,'status'=>1,'marks'=>1])
             ->whereIn('type', $types)
             ->groupBy('type')
             ->orderBy('type','asc')