121708259@qq.com hace 4 años
padre
commit
17a3e1f889
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Services/HomeService.php

+ 1 - 0
app/Services/HomeService.php

xqd
@@ -41,6 +41,7 @@ class HomeService
         if($user){
             //不看拉黑用户
             $black_list = UserBlacklistModel::query()->where('user_id',$user->id)->select(['black_id'])->get()->toArray();
+            dd($black_list);
             $ids = array_column($black_list,'black_id');
             $ids[]= $user->id;
             $query = $query->whereNotIn('users.id',$ids);