|
|
@@ -860,9 +860,16 @@ class OrderController extends BaseController
|
|
|
}
|
|
|
$post['hasPay'] = 2;
|
|
|
$post['payWay'] = 0;
|
|
|
+ } else {
|
|
|
+ foreach ($productList as $currentKey => $currentProduct) {
|
|
|
+ //预订单用了0.06这个价格
|
|
|
+ $nowPrice = $currentProduct['price'];
|
|
|
+ if ($currentProduct == 0.06) {
|
|
|
+ util::fail('花材不允许使用0.06元,请改其它价');
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-
|
|
|
//4秒内不允许重复开单
|
|
|
$staffId = $this->shopAdminId ?? 0;
|
|
|
$cacheKey = 'ghs_create_order_' . $staffId . '_' . $customId;
|