shish 2 anos atrás
pai
commit
dcdcca4676

+ 1 - 1
app-ghs/controllers/OrderController.php

@@ -848,7 +848,7 @@ class OrderController extends BaseController
         if ($book == 1) {
             foreach ($productList as $currentKey => $currentProduct) {
                 //帮开预订单没有价格
-                $productList[$currentKey]['price'] = 9876543;
+                $productList[$currentKey]['price'] = 0;
             }
             $post['hasPay'] = 1;
             $post['payWay'] = 0;

+ 0 - 3
biz-ghs/product/classes/ProductClass.php

@@ -682,9 +682,6 @@ class ProductClass extends BaseClass
         if ($changePrice > 0) {
             return $changePrice;
         }
-        if ($changePrice == 9876543) {
-            return 0;
-        }
         if (empty($product) || isset($product['price']) == false) {
             return 0;
         }