1
This commit is contained in:
@ -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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user