lizhen_gitee 11 ヶ月 前
コミット
22339a25e9
1 ファイル変更1 行追加1 行削除
  1. 1 1
      addons/unishop/controller/Cart.php

+ 1 - 1
addons/unishop/controller/Cart.php

@@ -67,7 +67,7 @@ class Cart extends Base
         $data = [];
         $productExtend = new \addons\unishop\extend\Product;
 
-        $choose_price_total = 0;//已选中的总价格
+        $choose_price_total = '0';//已选中的总价格
         $choose_number = 0;//已选中的个数
         foreach ($carts as $item) {
             $oldProduct = json_decode($item['snapshot'], true);