https://gitee.com/yyy-gitee/yct-cloud-parent/tree/base_no_cloud/
基础框架(无任何SpingCloud组件版本)Demo
父工程
-- 公共模块(cloud-base-api)
-- 消费者:订单模块(cloud-consumer-order80)
-- 服务提供者:支付模块(cloud-provider-payment8001)
公共模块包含其他模块都会用到的 entity、工具类、配置。
支付模块负责服务提供,操作数据库。
订单模块无核心业务,只负责远程调用支付模块(利用 RestTemplate 调用)。
通过修改idea的workpace.xml的方式来快速打开Run DashBoard窗口:
填入以下内容:
<option name="configurationTypes"> <set> <option value="SpringBootApplicationConfigurationType" /> </set> </option>
原文:https://www.cnblogs.com/y3blogs/p/13302330.html