新增个人中心开放接口

master
Diyu0904 2025-03-10 13:52:56 +08:00
parent e51d11402c
commit 56e2ecb00f
1 changed files with 7 additions and 1 deletions

View File

@ -159,7 +159,13 @@ public class SecurityConfig {
"/memberLevel/list", "/memberLevel/list",
"/memberLevel/getMemberBenefitList", "/memberLevel/getMemberBenefitList",
"/attention/selectAttentionList", "/attention/selectAttentionList",
"/downFile/down" "/downFile/down",
"/personalCenter/selectByUserIdModel",
"/personalCenter/selectByUserIdWorkFlow",
"/personalCenter/selectByUserIdImage",
"/personalCenter/likeModel",
"/personalCenter/likeWorkFlow",
"/personalCenter/likeImage"
).permitAll() ).permitAll()
// 静态资源,可匿名访问 // 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll() .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()