Kaynağa Gözat

相册为空不在作为附近和推荐的判断条件

lizhen_gitee 1 yıl önce
ebeveyn
işleme
4452d902c0
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      application/api/controller/Index.php

+ 2 - 2
application/api/controller/Index.php

@@ -28,7 +28,7 @@ class Index extends Api
         $where = [
             'user.id' => ['neq',$this->auth->id],
             'user.status' => 1,
-            'user.photo_images' => ['neq',''],
+//            'user.photo_images' => ['neq',''],
             'user.cityname' => $cityname,
             'power.yinshen' => 0,
         ];
@@ -119,7 +119,7 @@ class Index extends Api
         $where = [
             'user.id' => ['neq',$this->auth->id],
             'user.status' => 1,
-            'user.photo_images' => ['neq',''],
+//            'user.photo_images' => ['neq',''],
 //            'user.cityname' => $cityname,
             'power.yinshen' => 0,
         ];