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

View File

@ -26,6 +26,10 @@ class Index extends BaseController
exit(); exit();
return error('您的IP已被禁止充值如有疑问请联系管理员'); return error('您的IP已被禁止充值如有疑问请联系管理员');
} }
$order = MallOrder::where('ip',$ip)->where('start_time','>',time()-5)->find();
if (!empty($order)){
return error('请勿频繁提交订单,请稍后再试');
}
$rid = Uuids::getUuid4(); $rid = Uuids::getUuid4();
$data = [ $data = [
'money'=>$param['amount'], 'money'=>$param['amount'],