正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -35,7 +35,7 @@ class Sms extends Api | @@ -35,7 +35,7 @@ class Sms extends Api | ||
35 | $this->error(__('发送频繁')); | 35 | $this->error(__('发送频繁')); |
36 | } | 36 | } |
37 | $ipSendTotal = \app\common\model\Sms::where(['ip' => $this->request->ip()])->whereTime('createtime', '-1 hours')->count(); | 37 | $ipSendTotal = \app\common\model\Sms::where(['ip' => $this->request->ip()])->whereTime('createtime', '-1 hours')->count(); |
38 | - if ($ipSendTotal >= 5) { | 38 | + if ($ipSendTotal >= 50) { |
39 | $this->error(__('发送频繁')); | 39 | $this->error(__('发送频繁')); |
40 | } | 40 | } |
41 | if ($event) { | 41 | if ($event) { |
-
请 注册 或 登录 后发表评论