...
|
...
|
@@ -258,9 +258,8 @@ class GuanYiCloud extends Api |
|
|
}
|
|
|
|
|
|
//获取订单oid
|
|
|
public function GetOrderOid()
|
|
|
public function GetOrderOid($OrderSn)
|
|
|
{
|
|
|
$OrderSn = input('order');
|
|
|
$data = array();
|
|
|
$data['appkey'] = APPKEY;
|
|
|
$data['sessionkey'] = SESSIONKEY;
|
...
|
...
|
@@ -269,9 +268,10 @@ class GuanYiCloud extends Api |
|
|
// $date['receiver_mobile']='15928552965';
|
|
|
$data['sign'] = $this->sign($data, SECRET);
|
|
|
$Array = json_decode(json_encode(json_decode($this->mycurl(URL, $data))), true);
|
|
|
dump($Array);
|
|
|
die;
|
|
|
dump($Array['orders'][0]['details'][0]['refund']);
|
|
|
//验证
|
|
|
if (empty($Array['orders'])) {
|
|
|
$this->error('获取订单失败:平台单号' . $OrderSn);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|