- 什么是zuul
外部接口统一访问的网关
正常访问:http://localhost:8001/t_wechat_users/findbyid/835970
通过zuul 访问:http://myzuul.com:9527/microservicecloud-wechatuser/t_wechat_users/findbyid/835970
通过zuul 找到eureka 上叫 microservicecloud-wechatuser的服务, 并调用/t_wechat_users/findbyid/{id}方法
2,路由访问 映射规则
2.1 原来真实服务名忽略
2.2 设置统一公共前缀