Appearance
实现一个自定义的 HandlerInterceptor 来拦截请求并校验 header 中的 token。如果 token 不合法,直接返回 401。
定义拦截器
注册拦截器到 Spring