lanxiaolin-sz opened a new issue, #6327:
URL: https://github.com/apache/shenyu/issues/6327
### Question
现在需要使用新的前缀,旧的前缀在切换过程需要保留;我要怎么做才可以实现在同一个controller里面注册两个路由前缀规则呢?
现在这样子进行配置,只有第一个前缀可以正常注册到devide的rule:
```
@RequestMapping(value = {
"/mypath1/config",
"/other-path/config",
})
@Tag(name= "地址配置")
@ShenyuRequestMapping(path = {
"/mypath1/config",
"/other-path/config",
})
public class MyConfigController {
...
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]