作者 王智

xiugai

... ... @@ -163,6 +163,7 @@ class GuanYiCloud extends Api
$data['order_type_code'] = 'Sales';
//退款状态 //0:未退款//1:退款完成//2:退款中
$data['refund'] = 0;
$data['oid'] = $OrderSn;
//店铺代码
$data['shop_code'] = 'ZCZXCX';
//平台单号
... ... @@ -281,7 +282,7 @@ class GuanYiCloud extends Api
$data['sessionkey'] = SESSIONKEY;
$data['method'] = 'gy.erp.trade.refund.update';
$data['tid'] = $OrderSn;
$data['oid'] = null;
$data['oid'] = $OrderSn;
$data['refund_state'] = 2;
// $date['receiver_mobile']='15928552965';
$data['sign'] = $this->sign($data, SECRET);
... ...