WIN-2308041133\Administrator 2 giorni fa
parent
commit
ba37fdb8a3
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      app/api/controller/Pub.php

+ 4 - 4
app/api/controller/Pub.php

@@ -326,10 +326,10 @@ class Pub extends BaseController
         $post["page"] = $post["page"] <= 0 ? 1 : (int)$post["page"];
         $post["status"] = 1;
         $data = (new UserModel)->getNewApiWorkerList($post);
-        foreach ($data['list'] as &$item) {
-            $item['is_type_audit'] = $item['is_type_audit'] == 1 ? 1 : 0;
-            $item['ancestral_place'] = $item['ancestral_place'] ?? '';
-        }
+//        foreach ($data['list'] as &$item) {
+//            $item['is_type_audit'] = $item['is_type_audit'] == 1 ? 1 : 0;
+//            $item['ancestral_place'] = $item['ancestral_place'] ?? '';
+//        }
         return app('json')->success($data);
     }