Commit dff5999c by gdj

放行 OSS 文件下载接口

parent 75d4cee1
......@@ -55,6 +55,8 @@ public class GlobalMVCConfigurer implements WebMvcConfigurer {
excludePaths.add("/" + managePrefix + manageVersion + "/aiInfo/addFromTopic");
// 放行 OSS 文件浏览接口
excludePaths.add("/" + mediaPrefix + mediaVersion + "/oss/**/files");
// 放行 OSS 文件下载接口
excludePaths.add("/" + mediaPrefix + mediaVersion + "/oss/**/file/**/download");
// Intercept for all request interfaces.
registry.addInterceptor(authInterceptor).addPathPatterns("/**").excludePathPatterns(excludePaths);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment