mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-05-11 06:12:09 +08:00
fix 修复 gateway设置默认请求头无法覆盖问题
This commit is contained in:
@@ -44,10 +44,6 @@ public class AuthFilter implements WebMvcConfigurer {
|
||||
.notMatch(ignoreWhite.getWhites())
|
||||
.check(() -> {
|
||||
HttpServletRequest request = ServletUtils.getRequest();
|
||||
HttpServletResponse response = ServletUtils.getResponse();
|
||||
if (response != null) {
|
||||
response.setContentType(SaTokenConsts.CONTENT_TYPE_APPLICATION_JSON);
|
||||
}
|
||||
|
||||
StpUtil.checkLogin();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user