WIN-2308041133\Administrator 5 months ago
parent
commit
0dd1b65926
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/common/repositories/store/order/StoreOrderRepository.php

+ 1 - 0
app/common/repositories/store/order/StoreOrderRepository.php

@@ -1084,6 +1084,7 @@ class StoreOrderRepository extends BaseRepository
     public function getOrderAward($order)
     public function getOrderAward($order)
     {
     {
         $cartIdArray = explode(',', $order['cart_id']); // 使用逗号分割字符串
         $cartIdArray = explode(',', $order['cart_id']); // 使用逗号分割字符串
+        var_dump($cartIdArray);die();
         $product_id = StoreCart::where('id', $cartIdArray[0])->value('product_id');
         $product_id = StoreCart::where('id', $cartIdArray[0])->value('product_id');
         $product_type = StoreProduct::where('product_id', $product_id)->value('type');
         $product_type = StoreProduct::where('product_id', $product_id)->value('type');
         // 创建用户账单仓库实例
         // 创建用户账单仓库实例