作者 王智

xiugai

@@ -163,6 +163,7 @@ class GuanYiCloud extends Api @@ -163,6 +163,7 @@ class GuanYiCloud extends Api
163 $data['order_type_code'] = 'Sales'; 163 $data['order_type_code'] = 'Sales';
164 //退款状态 //0:未退款//1:退款完成//2:退款中 164 //退款状态 //0:未退款//1:退款完成//2:退款中
165 $data['refund'] = 0; 165 $data['refund'] = 0;
  166 + $data['oid'] = $OrderSn;
166 //店铺代码 167 //店铺代码
167 $data['shop_code'] = 'ZCZXCX'; 168 $data['shop_code'] = 'ZCZXCX';
168 //平台单号 169 //平台单号
@@ -268,7 +269,7 @@ class GuanYiCloud extends Api @@ -268,7 +269,7 @@ class GuanYiCloud extends Api
268 // $date['receiver_mobile']='15928552965'; 269 // $date['receiver_mobile']='15928552965';
269 $data['sign'] = $this->sign($data, SECRET); 270 $data['sign'] = $this->sign($data, SECRET);
270 $Array = json_decode(json_encode(json_decode($this->mycurl(URL, $data))), true); 271 $Array = json_decode(json_encode(json_decode($this->mycurl(URL, $data))), true);
271 - dump($Array['orders'][0]['details'][0]); 272 + dump($Array['orders'][0]['details'][0]['refund']);
272 } 273 }
273 274
274 275