正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
| @@ -40,15 +40,15 @@ class OaGlobalsoApi | @@ -40,15 +40,15 @@ class OaGlobalsoApi | ||
| 40 | 'token' => $this->token, | 40 | 'token' => $this->token, |
| 41 | 'order_id' => $order_id, | 41 | 'order_id' => $order_id, |
| 42 | ]; | 42 | ]; |
| 43 | - try { | 43 | +// try { |
| 44 | $res = HttpUtils::get($api_url, $params); | 44 | $res = HttpUtils::get($api_url, $params); |
| 45 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export(12344444444444444444444, true) . PHP_EOL, FILE_APPEND); | 45 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export(12344444444444444444444, true) . PHP_EOL, FILE_APPEND); |
| 46 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND); | 46 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND); |
| 47 | $res = Arr::s2a($res); | 47 | $res = Arr::s2a($res); |
| 48 | - } catch (\Exception | GuzzleException $e) { | ||
| 49 | - errorLog('项目信息', $params, $e); | ||
| 50 | - return false; | ||
| 51 | - } | 48 | +// } catch (\Exception | GuzzleException $e) { |
| 49 | +// errorLog('项目信息', $params, $e); | ||
| 50 | +// return false; | ||
| 51 | +// } | ||
| 52 | return $res; | 52 | return $res; |
| 53 | } | 53 | } |
| 54 | 54 |
-
请 注册 或 登录 后发表评论