Browse Source

bug修复

121708259@qq.com 3 years ago
parent
commit
17a3e1f889
1 changed files with 1 additions and 0 deletions
  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);