From 25500b42588e6140de0f6e24823adc727a7b5b05 Mon Sep 17 00:00:00 2001 From: phpcjl <phpcjl@gmail.com> Date: 星期三, 04 十二月 2024 17:48:50 +0800 Subject: [PATCH] 1.修复绑定门店bug --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/filter/AuthFilter.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/filter/AuthFilter.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/filter/AuthFilter.java index 4ad066f..428c939 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/filter/AuthFilter.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/filter/AuthFilter.java @@ -47,11 +47,11 @@ HttpServletRequest request = (HttpServletRequest) servletRequest; HttpServletResponse response = (HttpServletResponse) servletResponse; String userid = request.getHeader("user_id"); - if(StringUtils.isEmpty(userid)){ + if(StringUtils.isEmpty(userid)){ filterChain.doFilter(servletRequest, servletResponse); return; } - String userType = redquest.getHeader("user_type"); + String userType = request.getHeader("user_type"); //管理后台用户 if ("system".equals(userType)) { SysUser sysUser = sysUserClient.getSysUser(Long.valueOf(userid)).getData(); -- Gitblit v1.7.1