Zuul路由前綴2

一 介紹 zuul: routes: microservice-provider-user: path: /user/** strip-prefix: false 這樣訪問Zuul的/user/1路徑,請求將會被轉發到microservice-provider-user的/user/1。 二 實例 1 用戶微服務控制器定義 @GetMapping(value={
相關文章
相關標籤/搜索