Kirin пре 1 година
родитељ
комит
500a9b3661
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/services/order/StoreOrderCreateServices.php

+ 1 - 1
app/services/order/StoreOrderCreateServices.php

@@ -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))) {