xiaogang 4 tahun lalu
induk
melakukan
309b648693
1 mengubah file dengan 5 tambahan dan 5 penghapusan
  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){