From af461b9a2af2e9bd6bec4e92f19264a211630273 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 6 Nov 2019 17:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=94=99=E8=AF=AF=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E6=AC=A1=E6=95=B0=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/libs/limit_forbid_control/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/libs/limit_forbid_control/base.rb b/app/libs/limit_forbid_control/base.rb index 26977b314..6f11ae5eb 100644 --- a/app/libs/limit_forbid_control/base.rb +++ b/app/libs/limit_forbid_control/base.rb @@ -45,7 +45,7 @@ class LimitForbidControl::Base end def remain_times - allow_times - error_times + allow_times.to_i - error_times end def clear