guyue
2025-07-21 ad835011afaf88624e5b5f27b248c6b1089b7d8a
src/main/java/com/linghu/config/WebConfig.java
@@ -7,9 +7,11 @@
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import javax.annotation.Resource;
@Configuration
public class WebConfig implements WebMvcConfigurer { // 实现WebMvcConfigurer
    @Autowired
    @Resource
    private final OpenCryptUtil openCryptUtil;
    private final TokenInterceptor tokenInterceptor;