作者 王智

xiugai

@@ -269,9 +269,9 @@ class GuanYiCloud extends Api @@ -269,9 +269,9 @@ class GuanYiCloud extends Api
269 $data['sign'] = $this->sign($data, SECRET); 269 $data['sign'] = $this->sign($data, SECRET);
270 $Array = json_decode(json_encode(json_decode($this->mycurl(URL, $data))), true); 270 $Array = json_decode(json_encode(json_decode($this->mycurl(URL, $data))), true);
271 //验证 271 //验证
272 - if (empty($Array['orders'])) {  
273 - $this->error('获取订单失败:平台单号' . $OrderSn);  
274 - } 272 +// if (empty($Array['orders'])) {
  273 +// $this->error('获取订单失败:平台单号' . $OrderSn);
  274 +// }
275 dump($Array); 275 dump($Array);
276 // $delivery_state = $Array['orders'][0]['delivery_state']; 276 // $delivery_state = $Array['orders'][0]['delivery_state'];
277 // $refund = $Array['orders'][0]['details'][0]['refund']; 277 // $refund = $Array['orders'][0]['details'][0]['refund'];