This commit is contained in:
你的名字
2025-11-28 16:58:38 +08:00
parent 06a489939a
commit f524cee505

View File

@ -28,7 +28,7 @@ class Index extends BaseController
} }
$order = MallOrder::where('ip',$ip)->where('start_time','>',time()-5)->find(); $order = MallOrder::where('ip',$ip)->where('start_time','>',time()-5)->find();
if (!empty($order)){ if (!empty($order)){
return error('请勿频繁提交订单,请后再试'); return error('请勿频繁提交订单,请5s后再试');
} }
$rid = Uuids::getUuid4(); $rid = Uuids::getUuid4();
$data = [ $data = [