|
|
@@ -237,7 +237,7 @@ class StoreOrderCreateServices extends BaseServices
|
|
|
throw new ValidateException('下单金额不超过' . sys_config('max_price'));
|
|
|
}
|
|
|
if ($orderInfo['total_price'] < sys_config('min_price', 0) && sys_config('min_price', 0) > 0) {
|
|
|
- throw new ValidateException('下单金额不低于' . sys_config('max_price'));
|
|
|
+ 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();
|
|
|
if ($orderPre && $orderPre['add_time'] > (time() - (sys_config('order_time', 0) * 60))) {
|