修复登录校验错误
This commit is contained in:
parent
3c021a74c4
commit
efd707ecc3
|
|
@ -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("/", ":");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue