xiaogang 4 years ago
parent
commit
309b648693
1 changed files with 5 additions and 5 deletions
  1. 5 5
      app/Services/DynamicService.php

+ 5 - 5
app/Services/DynamicService.php

xqd
@@ -92,11 +92,11 @@ class DynamicService
         }
 
         //性别
-        if($where['look_type']!=3){
-            $dynamic = $dynamic->whereHas('user',function($query)use($where){
-                $query->where('sex',$where['look_type'])->select();
-            });
-        }
+//        if($where['look_type']!=3){
+//            $dynamic = $dynamic->whereHas('user',function($query)use($where){
+//                $query->where('sex',$where['look_type'])->select();
+//            });
+//        }
 
         //用户id
         if($where['user_id']!=0){