WIN-2308041133\Administrator 4 months ago
parent
commit
141106ab3a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/models/store/StoreOrder.php

+ 1 - 0
app/models/store/StoreOrder.php

@@ -80,6 +80,7 @@ class StoreOrder extends BaseModel
         $totalPrice = self::getOrderSumPrice($cartInfo, 'truePrice');//获取订单总金额
         $totalIntegral = self::getOrderSumPrice($cartInfo, 'integral');//获取订单总积分
         $costPrice = self::getOrderSumPrice($cartInfo, 'costPrice');//获取订单成本价
+        @file_put_contents('quanju.txt', json_encode($cartInfo) . "-购物车内容\r\n", 8);
         $vipPrice = self::getOrderSumPrice($cartInfo, 'vip_truePrice');//获取订单会员优惠金额
         //如果满额包邮等于0
         if (!$storeFreePostage) {