diff --git a/application/api/controller/Index.php b/application/api/controller/Index.php
index fcf0612..abc74bb 100644
--- a/application/api/controller/Index.php
+++ b/application/api/controller/Index.php
@@ -190,10 +190,11 @@ class Index extends Api
                     $findinset[] = "find_in_set({$pid},user_ids)";
                 }
                 $where .= $where ? ' and ' : '';
-                $where .= '('.implode(' or ',$findinset).')';
+                $where .= "(".implode(' or ',$findinset)." or user_ids = '')";
+            }else{
+            	// 未设置哪些人及其下级可查看,默认所有人可以查看
+            	$where .= " or user_ids = ''";
             }
-            // 未设置哪些人及其下级可查看,默认所有人可以查看
-            $where .= " or user_ids = ''";
         }
         // 附近
         $distance = '1';
@@ -306,10 +307,11 @@ class Index extends Api
                     $findinset[] = "find_in_set({$pid},j.user_ids)";
                 }
                 $where .= $where ? ' and ' : '';
-                $where .= '('.implode(' or ',$findinset).')';
+                $where .= "(".implode(' or ',$findinset)." or user_ids = '')";
+            }else{
+            	// 未设置哪些人及其下级可查看,默认所有人可以查看
+            	$where .= " or user_ids = ''";
             }
-            // 未设置哪些人及其下级可查看,默认所有人可以查看
-            $where .= " or j.user_ids = ''";
         }
         
         $data = Job::alias('j')