# shop **Repository Path**: cloudyday/shop ## Basic Information - **Project Name**: shop - **Description**: 实训商城项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 使用 1.启动shop-register注册中心,访问localhost:8880 2.启动shop-gateway网关,网关注册到注册中心上 3.启动自己需要的服务(先启动当前服务所依赖的服务) ## 创建一个自己的服务的步骤 1.创建一个moduel,包路径为cn.dgut.training,项目名为shop-服务 2.加入配置文件和启动类,可参考shop-user服务 3.在shop-gateway服务配置文件加入自己的网关配置 以用户服务为例:访问localhost:8881/shop/user/health既是访问localhost:8882/shop/user/health