Springboot扩展springMvc之自定义拦截器
首先自定义一个拦截器
package com.example.demo.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.Mod
原创
2021-05-26 22:34:43 ·
56 阅读 ·
0 评论