修复登录校验错误

This commit is contained in:
TinyAnts 2022-04-19 14:30:03 +08:00
parent 3c021a74c4
commit efd707ecc3
1 changed files with 1 additions and 1 deletions

View File

@ -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("/", ":");