From 95eb8a2a75cbeebcb3393d404c1952bd59b8989a Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期五, 01 八月 2025 13:50:16 +0800 Subject: [PATCH] feat: 新增第三方接口访问 --- src/main/java/com/ots/framework/config/ResourcesConfig.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ots/framework/config/ResourcesConfig.java b/src/main/java/com/ots/framework/config/ResourcesConfig.java index 5822c7b..cbbe3a6 100644 --- a/src/main/java/com/ots/framework/config/ResourcesConfig.java +++ b/src/main/java/com/ots/framework/config/ResourcesConfig.java @@ -1,6 +1,7 @@ package com.ots.framework.config; import com.ots.framework.interceptor.RepeatSubmitInterceptor; +import com.ots.framework.interceptor.SignatureVerifyInterceptor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; @@ -17,6 +18,8 @@ private String indexUrl; @Autowired private RepeatSubmitInterceptor repeatSubmitInterceptor; + @Autowired + private SignatureVerifyInterceptor signatureVerifyInterceptor; @Override public void addViewControllers(ViewControllerRegistry registry) { @@ -35,6 +38,7 @@ @Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(repeatSubmitInterceptor).addPathPatterns("/**"); + registry.addInterceptor(signatureVerifyInterceptor).addPathPatterns("/**"); } /** -- Gitblit v1.9.1