# demo-cloud-gateway **Repository Path**: aliaodc/cloud-gateway ## Basic Information - **Project Name**: demo-cloud-gateway - **Description**: springcloud集成gateway+feign - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-04-25 - **Last Updated**: 2025-04-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 演示SpringCloud gateway的demo 1、先启动ZK服务 2、启动product-service服务 3、启动gateway-service服务 4、启动feign-api服务 5、当前 这个是SpringCloud项目,外部服务全部过网关 通过ZooInspector查看zk服务 场景1、通过gateway路由到product-service 浏览器访问地址:http://127.0.0.1:8092/api1/product/api/findbyId?bizId=123456789 浏览器访问地址:http://127.0.0.1:8092/api1/product/api/productManage/list?name=%E5%B0%8F%E5%B8%83 说明:product-service服务新增方法,gateway是无需重新发版的 场景2、通过gateway路由到feigen-api系统,通过feign调用到product-service系统 浏览器访问地址:http://127.0.0.1:8092/api1/feign/sendMsgV4?msg=nihao