@@ -845,6 +845,16 @@ class OrderController extends BaseController
}
+ if ($book == 1) {
+ foreach ($productList as $currentKey => $currentProduct) {
+ //帮开预订单没有价格
+ $productList[$currentKey]['price'] = 0.06;
+ }
+ $post['hasPay'] = 1;
+ $post['payWay'] = 0;
+
//4秒内不允许重复开单
$staffId = $this->shopAdminId ?? 0;
$cacheKey = 'ghs_create_order_' . $staffId . '_' . $customId;