Skip to content

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

@ieayoio

Description

@ieayoio

接口返回

{"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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions