作者 lyh

gx

@@ -35,23 +35,7 @@ class OaGlobalsoApi @@ -35,23 +35,7 @@ class OaGlobalsoApi
35 public function order_info($order_id) 35 public function order_info($order_id)
36 { 36 {
37 $api_url = $this->url . '/api/order_info?token='.$this->token.'&order_id='.$order_id; 37 $api_url = $this->url . '/api/order_info?token='.$this->token.'&order_id='.$order_id;
38 -// $params = [  
39 -// 'token' => $this->token,  
40 -// 'order_id' => $order_id,  
41 -// ];  
42 -  
43 - //https://oa.cmer.com/api/order_info  
44 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($api_url, true) . PHP_EOL, FILE_APPEND);  
45 -// try {  
46 -// $res = HttpUtils::get($api_url, $params);  
47 $res = http_get($api_url,["charset" => "UTF-8"]); 38 $res = http_get($api_url,["charset" => "UTF-8"]);
48 - var_dump($res);  
49 - die();  
50 -// $res = Arr::s2a($res);  
51 -// } catch (\Exception | GuzzleException $e) {  
52 -// errorLog('项目信息', $params, $e);  
53 -// return false;  
54 -// }  
55 return $res; 39 return $res;
56 } 40 }
57 41