作者 lyh

gx

... ... @@ -35,23 +35,7 @@ class OaGlobalsoApi
public function order_info($order_id)
{
$api_url = $this->url . '/api/order_info?token='.$this->token.'&order_id='.$order_id;
// $params = [
// 'token' => $this->token,
// 'order_id' => $order_id,
// ];
//https://oa.cmer.com/api/order_info
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($api_url, true) . PHP_EOL, FILE_APPEND);
// try {
// $res = HttpUtils::get($api_url, $params);
$res = http_get($api_url,["charset" => "UTF-8"]);
var_dump($res);
die();
// $res = Arr::s2a($res);
// } catch (\Exception | GuzzleException $e) {
// errorLog('项目信息', $params, $e);
// return false;
// }
return $res;
}
... ...