允许接口匿名访问

使用注解 @Authentication(anonymous = true)

在入口处统一拦截。不用判断请求头。

posted @ 2024-04-10 16:50  aaacarrot  阅读(24)  评论(0编辑  收藏  举报