From 39ffdf5754b4ebca682bd3c925f7a500e8a1bbda Mon Sep 17 00:00:00 2001
From: aix <vip_xiaobin810@163.com>
Date: Thu, 08 Aug 2024 16:56:36 +0800
Subject: [PATCH] 国土调查云身份凭证token
---
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