假设请求 localhost:8080/ 则要求直接重定向到 localhost:8080/login ;
localhost:8080/
localhost:8080/login
pre 先执行先定义的,而 post 和 after 先执行后定义的。