|
@@ -34,8 +34,6 @@ class GoogleLinkService |
|
@@ -34,8 +34,6 @@ 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);
|
|
|
|
39
|
if (!empty($response) && !empty($response['data']['total'])) {
|
37
|
if (!empty($response) && !empty($response['data']['total'])) {
|
|
40
|
// 计算总数并一次性获取所有数据
|
38
|
// 计算总数并一次性获取所有数据
|
|
41
|
$param['pagesize'] = $response['data']['total'];
|
39
|
$param['pagesize'] = $response['data']['total'];
|