feat(watch): 支持设备观看与登录合并

This commit is contained in:
Zhou Weidong committed 2026-10-27 09:54:47 +08:00
1 parent 4b0fbd73d3
commit 848c746505
14 files changed
+613 -70

No files matched your search

@@ -89,6 +89,12 @@ public class SecurityConfig {
.requestMatchers(HttpMethod.DELETE, "/app/comments/*").permitAll()
.requestMatchers(HttpMethod.GET, "/app/comments").permitAll()
.requestMatchers(HttpMethod.GET, "/app/comments/count").permitAll()
.requestMatchers(HttpMethod.GET, "/app/favorites").permitAll()
.requestMatchers(HttpMethod.GET, "/app/watch/recent").permitAll()
.requestMatchers(HttpMethod.GET, "/app/watch/progress").permitAll()
.requestMatchers(HttpMethod.POST, "/app/watch/progress").permitAll()
.requestMatchers(HttpMethod.DELETE, "/app/watch/progress/*").permitAll()
.requestMatchers(HttpMethod.DELETE, "/app/watch/progress").permitAll()
.requestMatchers(PUBLIC_PATHS).permitAll()
.anyRequest().authenticated())
.exceptionHandling(handling -> handling