Browse Source

2023-5-22-1 新增服务区-2

yingzi 1 year ago
parent
commit
c085c44256
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/api/controller/Pub.php

+ 3 - 0
app/api/controller/Pub.php

@@ -347,6 +347,9 @@ class Pub extends BaseController
                 'user_work_type_id' => $user_work_type_title['title'],
             ];
         }
+        $rankList = array_filter($rankList, function($item){
+            return !empty($item['ancestral_place']);
+        });
         return app('json')->success($rankList);
     }