Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

admin用户在资源查看里点详情报错 #105

Open
ieayoio opened this issue Mar 25, 2022 · 0 comments
Open

admin用户在资源查看里点详情报错 #105

ieayoio opened this issue Mar 25, 2022 · 0 comments

Comments

@ieayoio
Copy link

ieayoio commented Mar 25, 2022

接口返回

{"exceptionClazz":null,"exceptionTip":null,"exceptionPlace":null,"success":false,"code":"B0317","message":"无法访问未经授权的接口,未授权url为:/resource/getDetail","data":null}

控制台报错

2022-03-25 18:10:44.840 ERROR 146510 --- [nio-8080-exec-9] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is ServiceException(errorCode=B0317, userTip=无法访问未经授权的接口,未授权url为:/resource/getDetail, moduleName=kernel-d-auth, data=null)] with root cause

cn.stylefeng.roses.kernel.auth.api.exception.AuthException: 无法访问未经授权的接口,未授权url为:/resource/getDetail
	at cn.stylefeng.guns.core.security.base.BaseSecurityInterceptor.preHandle(BaseSecurityInterceptor.java:82)
	at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:148)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant