Browse Source

fix:计算页面

super-yimizi 2 months ago
parent
commit
90b535e91d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Order.php

+ 1 - 1
application/api/controller/Order.php

@@ -42,7 +42,7 @@ class Order extends Base
             // 根据类型获取标准化的商品列表
             // 根据类型获取标准化的商品列表
             if ($type === 'cart') {
             if ($type === 'cart') {
                 // 购物车模式:先转换为商品列表
                 // 购物车模式:先转换为商品列表
-                $cart_ids = $this->request->post('cart_ids');
+                $cart_ids = $this->request->post('cart_ids/a');
                 $goods_list = \app\common\Service\OrderService::convertCartToGoodsList($cart_ids, $this->auth->id);
                 $goods_list = \app\common\Service\OrderService::convertCartToGoodsList($cart_ids, $this->auth->id);
             } else {
             } else {
                 // 商品规格模式:直接使用商品列表
                 // 商品规格模式:直接使用商品列表