Commit 3eae4742 authored by 董建华's avatar 董建华

修改登录次数问题

parent 12ccae18
......@@ -94,7 +94,7 @@ public class CaptchaFiniteValidateAdvisor {
/**
* 输入密码错误超过一定次数限制登陆
*/
if (countErrorByPhone > Constants.PASSWORD_ERROR_LOCK_COUNT) {
if (countErrorByPhone >= Constants.PASSWORD_ERROR_LOCK_COUNT) {
String lock_key = Constants.PASSWORD_LOCK_PRE.concat(phoneNo);
......
......@@ -95,7 +95,7 @@ public class UserController implements IBaseController {
* @param dimension
* @return
*/
@LoginInterceptor
// @LoginInterceptor
@CaptchaFiniteValidator
@RequestMapping("/loginV1")
public JsonResult loginV1(
......
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