Zuul路由前缀2

一 介绍 zuul: routes: microservice-provider-user: path: /user/** strip-prefix: false 这样访问Zuul的/user/1路径,请求将会被转发到microservice-provider-user的/user/1。 二 实例 1 用户微服务控制器定义 @GetMapping(value={
相关文章
相关标签/搜索