xiaogang 4 年之前
父节点
当前提交
309b648693
共有 1 个文件被更改,包括 5 次插入5 次删除
  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){