...
|
...
|
@@ -360,8 +360,10 @@ class CartData |
|
|
* @param string $cartType 购物车类型
|
|
|
* @param int $deliveryTime 寄送时间ID
|
|
|
* @param int $deliveryWay 寄送方式ID
|
|
|
* @param string $invoiceTitle 发票说明
|
|
|
* @param int $invoiceId 发票类型ID
|
|
|
* @param int $invoiceType 发票类型 1:纸质,2:电子
|
|
|
* @param string $invoiceTitle 发票抬头
|
|
|
* @param int $invoiceContent 发票内容
|
|
|
* @param string $receiverMobile 发票接收人电话
|
|
|
* @param int $paymentId 支付方式ID
|
|
|
* @param int $paymentType 支付类型ID
|
|
|
* @param string $remark 留言
|
...
|
...
|
@@ -375,7 +377,7 @@ class CartData |
|
|
* @param int $redEnvelopes 红包
|
|
|
* @return array 接口返回的数据
|
|
|
*/
|
|
|
public static function orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoiceType, $invoiceTitle, $invoiceContent, $receiverMobile, $invoiceId,
|
|
|
public static function orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoiceType, $invoiceTitle, $invoiceContent, $receiverMobile,
|
|
|
$paymentId, $paymentType, $remark,$couponCode,$promotionCode, $yohoCoin, $isPreContact, $isPrintPrice, $unionKey,$userAgent, $redEnvelopes)
|
|
|
{
|
|
|
$param = Yohobuy::param();
|
...
|
...
|
@@ -390,13 +392,13 @@ class CartData |
|
|
$param['uid'] = $uid;
|
|
|
|
|
|
if (!empty($invoiceType)) {
|
|
|
$param['invoices_type'] = $invoiceTitle;
|
|
|
$param['invoices_type'] = $invoiceType;
|
|
|
}
|
|
|
if (!empty($invoiceTitle)) {
|
|
|
$param['invoices_title'] = $invoiceTitle;
|
|
|
}
|
|
|
if (!empty($invoiceContent)) {
|
|
|
$param['invoices_type'] = $invoiceContent;
|
|
|
$param['invoice_content'] = $invoiceContent;
|
|
|
}
|
|
|
if (!empty($receiverMobile)) {
|
|
|
$param['receiverMobile'] = $receiverMobile;
|
...
|
...
|
|