xiaogang 4 năm trước cách đây
mục cha
commit
1aa3164a00
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      app/Services/DynamicService.php

+ 3 - 0
app/Services/DynamicService.php

@@ -77,6 +77,9 @@ class DynamicService
         if($user){
         if($user){
             $lat = $user->latitude;
             $lat = $user->latitude;
             $lng = $user->longitude;
             $lng = $user->longitude;
+            if($user->sex)
+
+            $where['look_type'] = $user->sex==1?2:1;
         }else{
         }else{
             $lat = "0";
             $lat = "0";
             $lng = "0";
             $lng = "0";