@@ -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')