mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-08 16:20:43 +08:00
修复登录校验错误
This commit is contained in:
@@ -49,7 +49,7 @@ public class LikeAdminInterceptor implements HandlerInterceptor {
|
||||
}
|
||||
|
||||
// 路由转权限
|
||||
String prefix = YmlUtil.get("server.servlet.context-path") + "/";
|
||||
String prefix = "/api/";
|
||||
String route = request.getRequestURI().replaceFirst(prefix, "");
|
||||
String auths = route.replace("/", ":");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user