作者 lyh

gx

@@ -34,6 +34,8 @@ class GoogleLinkService @@ -34,6 +34,8 @@ class GoogleLinkService
34 $queryString = http_build_query($param); 34 $queryString = http_build_query($param);
35 $url = $this->url . '?' . $queryString; 35 $url = $this->url . '?' . $queryString;
36 $response = http_get($url); 36 $response = http_get($url);
  37 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($url, true) . PHP_EOL, FILE_APPEND);
  38 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($response, true) . PHP_EOL, FILE_APPEND);
37 if (!empty($response) && !empty($response['data']['total'])) { 39 if (!empty($response) && !empty($response['data']['total'])) {
38 // 计算总数并一次性获取所有数据 40 // 计算总数并一次性获取所有数据
39 $param['pagesize'] = $response['data']['total']; 41 $param['pagesize'] = $response['data']['total'];