From 7f1e5a861d9944cc28285cd36ee47b33dee04446 Mon Sep 17 00:00:00 2001
From: aix <vip_xiaobin810@163.com>
Date: Tue, 06 Aug 2024 19:53:27 +0800
Subject: [PATCH] 无人机osd信息接口不到问题
---
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