|
@@ -261,8 +261,6 @@ class StoreOrderCreateServices extends BaseServices
|
|
if ($userInfo['max_order_count'] > 0 && $order_count >= $userInfo['max_order_count']) {
|
|
if ($userInfo['max_order_count'] > 0 && $order_count >= $userInfo['max_order_count']) {
|
|
throw new ValidateException('报单数量已达上限');
|
|
throw new ValidateException('报单数量已达上限');
|
|
}
|
|
}
|
|
-
|
|
|
|
- throw new ValidateException('下单金额不低于' . sys_config('min_price'));
|
|
|
|
}
|
|
}
|
|
$orderPre = $this->dao->search(['uid' => $uid, 'is_del' => 0, 'is_system_del' => 0])->order('add_time', 'desc')->find();
|
|
$orderPre = $this->dao->search(['uid' => $uid, 'is_del' => 0, 'is_system_del' => 0])->order('add_time', 'desc')->find();
|
|
if ($orderPre && $orderPre['add_time'] > (time() - (sys_config('order_time', 0) * 60))) {
|
|
if ($orderPre && $orderPre['add_time'] > (time() - (sys_config('order_time', 0) * 60))) {
|