Jelajahi Sumber

format code

stanley-king 7 tahun lalu
induk
melakukan
d4efd66482
2 mengubah file dengan 7 tambahan dan 2 penghapusan
  1. 2 2
      data/logic/buy.logic.php
  2. 5 0
      helper/notify_helper.php

+ 2 - 2
data/logic/buy.logic.php

@@ -635,9 +635,9 @@ class buyLogic
         foreach ($store_cart_list as $store_id => $goods_list)
         {
             //取得本店优惠额度(后面用来计算每件商品实际支付金额,结算需要)
-            $promotion_total = !empty($store_promotion_total[$store_id]) ? $store_promotion_total[$store_id] : 0;
+            $promotion_total   = !empty($store_promotion_total[$store_id]) ? $store_promotion_total[$store_id] : 0;
             $promotion_optotal = !empty($optional_goods[$store_id]) ? $optional_goods[$store_id]['discount'] : 0;
-            $promotion_total += $promotion_optotal;
+            $promotion_total  += $promotion_optotal;
 
             //本店总的优惠比例,保留3位小数
             $should_goods_total = $store_final_order_total[$store_id] - $store_freight_total[$store_id] + $promotion_total;

+ 5 - 0
helper/notify_helper.php

@@ -124,4 +124,9 @@ class notify_helper
             }
         }
     }
+
+    static public function onFcodeExpire()
+    {
+
+    }
 }