|
|
@@ -861,14 +861,15 @@ class OrderController extends BaseController
|
|
|
$post['hasPay'] = 2;
|
|
|
$post['payWay'] = 0;
|
|
|
} else {
|
|
|
- print_r($productList);die;
|
|
|
foreach ($productList as $currentKey => $currentProduct) {
|
|
|
//预订单用了0.06这个价格
|
|
|
$nowPrice = $currentProduct['price'];
|
|
|
- if ($currentProduct == 0.06) {
|
|
|
+ if ($nowPrice == 0.06) {
|
|
|
util::fail('花材不允许使用0.06元,请改其它价');
|
|
|
}
|
|
|
}
|
|
|
+ print_r($productList);
|
|
|
+ die;
|
|
|
}
|
|
|
|
|
|
//4秒内不允许重复开单
|