作者 王智

xiugai

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