|
|
@@ -143,7 +143,7 @@ class StoreOrderCreateServices extends BaseServices
|
|
|
* @email 442384644@qq.com
|
|
|
* @date 2023/03/01
|
|
|
*/
|
|
|
- public function createOrder($uid, $key, $userInfo, $addressId, $payType, $useIntegral = false, $couponId = 0, $mark = '', $combinationId = 0, $pinkId = 0, $seckillId = 0, $bargainId = 0, $shippingType = 1, $real_name = '', $phone = '', $storeId = 0, $news = false, $advanceId = 0, $customForm = [], $invoice_id = 0, $is_gift = 0, $gift_mark = '',$lb_pid=0)
|
|
|
+ public function createOrder($uid, $key, $userInfo, $addressId, $payType, $useIntegral = false, $couponId = 0, $mark = '', $combinationId = 0, $pinkId = 0, $seckillId = 0, $bargainId = 0, $shippingType = 1, $real_name = '', $phone = '', $storeId = 0, $news = false, $advanceId = 0, $customForm = [], $invoice_id = 0, $is_gift = 0, $gift_mark = '',$lb_spread_uid=0)
|
|
|
{
|
|
|
/** @var StoreOrderServices $orderService */
|
|
|
$storeOrderServices = app()->make(StoreOrderServices::class);
|
|
|
@@ -226,6 +226,8 @@ class StoreOrderCreateServices extends BaseServices
|
|
|
// if ($cart['productAttr']['product']['is_lb']==1){
|
|
|
// $is_lb = 1;
|
|
|
// }
|
|
|
+ @file_put_contents('quanju.txt', json_encode($cart)."-购物车\r\n", 8);
|
|
|
+
|
|
|
}
|
|
|
if (count($cartInfo) == 1 && isset($cartInfo[0]['productInfo']['presale']) && $cartInfo[0]['productInfo']['presale'] == 1) {
|
|
|
$advance_id = $cartInfo[0]['product_id'];
|
|
|
@@ -285,7 +287,7 @@ class StoreOrderCreateServices extends BaseServices
|
|
|
'division_id' => $userInfo['division_id'],
|
|
|
'agent_id' => $userInfo['agent_id'],
|
|
|
'staff_id' => $userInfo['staff_id'],
|
|
|
- 'li_spread_uid' =>$lb_pid,
|
|
|
+ 'li_spread_uid' =>$lb_spread_uid,
|
|
|
'is_lb' => $is_lb
|
|
|
];
|
|
|
|