Authored by xiaowei

防止撞库

... ... @@ -133,7 +133,7 @@ class LoginController extends WebAction
//再次校验
$accountTimes = Cache::get($accountKey);
$ipTimes = Cache::get($ipKey);
if ($accountTimes >= 1) {
if ($accountTimes >= 10) {
$data = array('code' => 400, 'message' => '您的账号已被暂时锁定,请稍后再试', 'data' => '');
break;
}
... ...