xiaogang 4 vuotta sitten
vanhempi
commit
309b648693
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  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){