wesmiler 2 年 前
コミット
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'];
         $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)
             ->whereIn('type', $types)
             ->groupBy('type')
             ->groupBy('type')
             ->orderBy('type','asc')
             ->orderBy('type','asc')