瀏覽代碼

feat: NG-15: 新会员注册时增加国家与语言选项.

zhangl 2 年之前
父節點
當前提交
4147955c6f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      common/models/forms/OrderForm.php

+ 2 - 2
common/models/forms/OrderForm.php

@@ -862,12 +862,12 @@ class OrderForm extends Model
                 if($goods['STORE_NUMS']>0){
                     if ($goods['TYPE'] == 1 || $goods['TYPE'] == 2) {
                         $discount = $goodsType[$goods['TYPE']]['discount'];
-                        $realPrice = $goods['SELL_PRICE'] * $discount/100;
+                        $realPrice = $goodsNature['SELL_PRICE'] * $discount/100;
                         $realPv = $goods['PRICE_PV'] * $discount/100;
                         $realPriceStandard = $goods['SELL_PRICE_STANDARD'] * $discount/100;
                     } else {
                         $discount = $goods['SELL_DISCOUNT'];
-                        $realPrice = $goods['SELL_PRICE'] * $discount;
+                        $realPrice = $goodsNature['SELL_PRICE'] * $discount;
                         $realPv = $goods['PRICE_PV'] * $discount;
                         $realPriceStandard = $goods['SELL_PRICE_STANDARD'] * $discount;
                     }