|
|
@ -449,7 +449,7 @@ class BaseController extends HomeController
|
|
|
|
if ($count > 60) {
|
|
|
|
if ($count > 60) {
|
|
|
|
Log::write('user_access_limit:' . date('Y-m-d H:i:s') . ' ' . $key . '[' . $url . ']', 'INFO');
|
|
|
|
Log::write('user_access_limit:' . date('Y-m-d H:i:s') . ' ' . $key . '[' . $url . ']', 'INFO');
|
|
|
|
$this->assign("ttl",Redis::ttl($key));
|
|
|
|
$this->assign("ttl",Redis::ttl($key));
|
|
|
|
$this->display("index/accessLimit");
|
|
|
|
$this->display("Index/accessLimit");
|
|
|
|
die();
|
|
|
|
die();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|