shish 2 лет назад
Родитель
Сommit
c564570fe3
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      app-ghs/controllers/OrderController.php

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

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