From a50b9fcfcff08c08b75ebd778d385f5a7c47911f Mon Sep 17 00:00:00 2001 From: "kuang.yife" Date: Mon, 11 Dec 2023 14:29:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=99=84=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E5=AF=86=E7=A0=81=EF=BC=8C=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E7=99=BB=E9=99=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/web/controller/app/TbUserSingleAppController.java | 1 - .../main/java/com/ruoyi/framework/config/ShiroConfig.java | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/app/TbUserSingleAppController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/app/TbUserSingleAppController.java index 0ba02bad..ce89ae05 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/app/TbUserSingleAppController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/app/TbUserSingleAppController.java @@ -2,7 +2,6 @@ package com.ruoyi.web.controller.app; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; -import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.common.core.domain.Result; import com.ruoyi.system.domain.TbUserSingle; import com.ruoyi.system.service.ITbUserSingleService; diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ShiroConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ShiroConfig.java index 9db7393b..43358492 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ShiroConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ShiroConfig.java @@ -300,6 +300,12 @@ public class ShiroConfig filterChainDefinitionMap.put("/tool/oss/**", "anon"); // app登陆接口 filterChainDefinitionMap.put("/app/login/**", "anon"); + // app登陆接口 + filterChainDefinitionMap.put("/app/user/**", "anon"); + // app登陆接口 + filterChainDefinitionMap.put("/app/single/**", "anon"); + // app登陆接口 + filterChainDefinitionMap.put("/app/img/**", "anon"); // 系统权限列表 // filterChainDefinitionMap.putAll(SpringUtils.getBean(IMenuService.class).selectPermsAll());