Authored by cailing

电子发票修改

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