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

[QUESTION] 注解路由无法支持多个 #6606

Open
huangmangit opened this issue Mar 18, 2024 · 1 comment
Open

[QUESTION] 注解路由无法支持多个 #6606

huangmangit opened this issue Mar 18, 2024 · 1 comment
Labels
question Further information is requested
Milestone

Comments

@huangmangit
Copy link

huangmangit commented Mar 18, 2024

如题:GetMapping等路径仅仅支持一个,无法像spring boot 一样可以写多个路径,
如能有类似效果是最好:RequestMapping(['url_1', ['url_2'])
多行注解的话,如果是相同的注解,提示:特性不可重复,因为它不包含 'Attribute::IS_REPEATABLE' 标志

@huangmangit huangmangit added the question Further information is requested label Mar 18, 2024
@limingxinleo
Copy link
Member

是这样的,这个特性可以放到 v3.2 里实现,v3.1 不做修改。

@limingxinleo limingxinleo added this to the v3.2 milestone Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants