|
|
@@ -512,10 +512,11 @@ class StoreOrder extends BaseModel
|
|
|
|
|
|
public static function createOrderPart($orderInfo)
|
|
|
{
|
|
|
- @file_put_contents('quanju.txt', $orderInfo['cart_id'] . "-报错的购物车id\r\n", 8);
|
|
|
+ @file_put_contents('quanju.txt', json_encode($orderInfo['cart_id']) . "-报错的购物车id\r\n", 8);
|
|
|
|
|
|
$user_info = User::where('uid', $orderInfo['uid'])->find();
|
|
|
- $cart_ids = explode(',', $orderInfo['cart_id']);
|
|
|
+// $cart_ids = explode(',', $orderInfo['cart_id']);
|
|
|
+ $cart_ids = $orderInfo['cart_id'];
|
|
|
|
|
|
$cartInfo = StoreCart::where('id', 'in', $cart_ids)
|
|
|
->field('mer_id, GROUP_CONCAT(id) as ids') // 按mer_id分组,并用逗号拼接id
|