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

多账号鉴权,路由匹配因为去除掉了content-path,导致匹配失败 #736

Open
2064194730 opened this issue Feb 7, 2025 · 1 comment

Comments

@2064194730
Copy link

Image多模块项目可能两个项目配置了不同的context-path,并且复用一个satoken,因为他会去掉前缀,导致不得不抛弃配置,在mapping注解上添加获取是进入拦截器之前重置routePrefix,能不能添加一个配置项,根据配置项觉得是否启用

Image

@click33
Copy link
Collaborator

click33 commented Feb 19, 2025

据我的理解,只要不涉及微服务,Maven多模块项目只是把项目内部分成了几个模块,本质上仍然是一个项目,一个项目只能配置一个 context-path 上下文,所以我对问题中的 “多模块项目可能两个项目配置了不同的context-path”,不太理解,能否提供具体的复现demo与示例?
如果可以的话,请点击官网的 sa-token 小助手,发送 issue 继续咨询,GitHub有时候我们会收不到邮件提示

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

2 participants