作者 王智

xiugai

@@ -147,6 +147,7 @@ class Pay extends Api @@ -147,6 +147,7 @@ class Pay extends Api
147 $details[$k]['item_code'] = $v['goods_code']; 147 $details[$k]['item_code'] = $v['goods_code'];
148 $details[$k]['qty'] = $v['num']; 148 $details[$k]['qty'] = $v['num'];
149 $details[$k]['price'] = $v['price']; 149 $details[$k]['price'] = $v['price'];
  150 + $details[$k]['oid'] = $PayOrderInfo['OrderSn'];
150 } 151 }
151 $GuanYiCloud->addOrder($PayOrderInfo['OrderSn'], date('Y-m-d H:i:s', $OrderInfo['createtime']), $PayOrderInfo['pay_time'], $UnionID, $OrderInfo['name'], $OrderInfo['mobile'], $OrderInfo['address'] . '/' . $OrderInfo['address_con'], $City[0], $City[1], $City[2], $details, $PayOrderInfo['money'], $PayOrderInfo['PayOrder']); 152 $GuanYiCloud->addOrder($PayOrderInfo['OrderSn'], date('Y-m-d H:i:s', $OrderInfo['createtime']), $PayOrderInfo['pay_time'], $UnionID, $OrderInfo['name'], $OrderInfo['mobile'], $OrderInfo['address'] . '/' . $OrderInfo['address_con'], $City[0], $City[1], $City[2], $details, $PayOrderInfo['money'], $PayOrderInfo['PayOrder']);
152 //是否首次下单 153 //是否首次下单