From 94174d2cc22afed6f41c270d970903484bfc5708 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Mon, 05 Aug 2024 16:06:18 +0800
Subject: [PATCH] SM2测试类
---
src/main/java/com/dji/sample/configuration/mvc/GlobalMVCConfigurer.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/dji/sample/configuration/mvc/GlobalMVCConfigurer.java b/src/main/java/com/dji/sample/configuration/mvc/GlobalMVCConfigurer.java
index c28e6c4..0da31a8 100644
--- a/src/main/java/com/dji/sample/configuration/mvc/GlobalMVCConfigurer.java
+++ b/src/main/java/com/dji/sample/configuration/mvc/GlobalMVCConfigurer.java
@@ -31,6 +31,8 @@
// Exclude the login interface.
excludePaths.add(managePrefix + manageVersion + "/login");
excludePaths.add(managePrefix + manageVersion + "/token/refresh");
+ excludePaths.add("/territory/tbdkjbxx/upload");
+ excludePaths.add("/territory/tbdkjbxx/uploadUrl");
// Intercept for all request interfaces.
registry.addInterceptor(authInterceptor).addPathPatterns("/**").excludePathPatterns(excludePaths);
}
--
Gitblit v1.9.3