|
...
|
...
|
@@ -40,15 +40,15 @@ class OaGlobalsoApi |
|
|
|
'token' => $this->token,
|
|
|
|
'order_id' => $order_id,
|
|
|
|
];
|
|
|
|
try {
|
|
|
|
// try {
|
|
|
|
$res = HttpUtils::get($api_url, $params);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(12344444444444444444444, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$res = Arr::s2a($res);
|
|
|
|
} catch (\Exception | GuzzleException $e) {
|
|
|
|
errorLog('项目信息', $params, $e);
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
// } catch (\Exception | GuzzleException $e) {
|
|
|
|
// errorLog('项目信息', $params, $e);
|
|
|
|
// return false;
|
|
|
|
// }
|
|
|
|
return $res;
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|