...
|
...
|
@@ -378,7 +378,7 @@ class CartData |
|
|
* @param string|null $userAgent 联盟过来用户下单时需要的User-Agent信息
|
|
|
* @return array 接口返回的数据
|
|
|
*/
|
|
|
public static function orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoices, $paymentId, $paymentType, $remark, $couponCode, $yohoCoin, $skuList, $qhyUnion, $userAgent)
|
|
|
public static function orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoices, $invoiceId, $paymentId, $paymentType, $remark, $couponCode, $yohoCoin, $skuList, $qhyUnion, $userAgent)
|
|
|
{
|
|
|
$param = Yohobuy::param();
|
|
|
$param['debug'] = 'Y';
|
...
|
...
|
@@ -392,8 +392,8 @@ class CartData |
|
|
$param['cart_type'] = $cartType;
|
|
|
$param['delivery_time'] = $deliveryTime;
|
|
|
$param['delivery_way'] = $deliveryWay;
|
|
|
if (!empty($invoiceTitle)) {
|
|
|
$param['invoices_title'] = $invoiceTitle;
|
|
|
if (!empty($invoices)) {
|
|
|
$param['invoices_title'] = $invoices;
|
|
|
}
|
|
|
if (!empty($invoiceId)) {
|
|
|
$param['invoices_type_id'] = $invoiceId;
|
...
|
...
|
|