WIN-2308041133\Administrator 1 день назад
Родитель
Сommit
9adf19816a
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      app/api/controller/Pub.php

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

@@ -280,10 +280,10 @@ class Pub extends BaseController
         $post["page"] = $post["page"] <= 0 ? 1 : (int)$post["page"];
         $post["status"] = 1;
 
-        Log::info('搜索条件:' . json_encode($post, JSON_UNESCAPED_UNICODE));
-        $logPath = app()->getRuntimePath() . 'debug.txt';
-        @file_put_contents($logPath, date('Y-m-d H:i:s') . ' | ' . json_encode($post, JSON_UNESCAPED_UNICODE) . "\r\n", FILE_APPEND);
-        return app('json')->fail($post);
+//        Log::info('搜索条件:' . json_encode($post, JSON_UNESCAPED_UNICODE));
+//        $logPath = app()->getRuntimePath() . 'debug.txt';
+//        @file_put_contents($logPath, date('Y-m-d H:i:s') . ' | ' . json_encode($post, JSON_UNESCAPED_UNICODE) . "\r\n", FILE_APPEND);
+//        return app('json')->fail($post);
 
         $data = (new UserModel)->getGoodApiWorkerList($post);
         foreach ($data['list'] as &$item) {