Commit 37d00cb1 authored by 董建华's avatar 董建华

调整提示语时间

parent c2fab050
...@@ -110,7 +110,7 @@ public class CaptchaFiniteValidateAdvisor { ...@@ -110,7 +110,7 @@ public class CaptchaFiniteValidateAdvisor {
/** /**
* 获取到的时间是秒 转化为分 大概转一下吧不要太精确 * 获取到的时间是秒 转化为分 大概转一下吧不要太精确
*/ */
expire = expire > 60L ? expire / 60 : 1L; expire = expire > 60L ? expire / 60 + 1 : 1L;
return JsonResult.buildErrorStateResult(String.format(ALERT_TEMP, expire), null, TOME_LIMIT_CODE); return JsonResult.buildErrorStateResult(String.format(ALERT_TEMP, expire), null, TOME_LIMIT_CODE);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment