# yct-cloud-parent **Repository Path**: yyy-gitee/yct-cloud-parent ## Basic Information - **Project Name**: yct-cloud-parent - **Description**: SpringCloud 练习 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-07-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # yct-cloud-parent #### 介绍 SpringCloud 练习 基础框架(无任何SpingCloud组件版本)Demo #### 项目结构: 父工程 -- 公共模块(cloud-base-api) -- 公共模块(cloud-base-mybatisplus) -- 消费者:订单模块(cloud-consumer-order8080) -- 服务提供者:支付模块(cloud-provider-payment8001) //////////////////////////////////////// #### 结构描述: 公共模块(cloud-base-api)包含其他模块都会用到的 entity(不包含mybatisPlus相关属性)、工具类、配置。 公共模块(cloud-base-mybatisplus)包含其他模块都会用到的 entity(包含了mybatisPlus相关属性)、工具类、配置。 entity中的实体类在两个公共模块都存在一份相同的,不同之处在于cloud-base-api模块中的没有包含mybatisPlus属性(例如 MyBatis Plus 中需要用到的实体类注解,因为如果要用到这些注解就要用到MyBatisPlus的jar,而引入了这些jar就需要引入其他数据库的jar及数据库配置,所以如果有其他模块继承这个模块,不管有没有用到数据库的东西,都需要引入这些配置及jar,显得多余。所以只能牺牲少量冗余度,将实体类准备两份。)。 支付模块负责服务提供,操作数据库。 订单模块无核心业务,只负责远程调用支付模块。 #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)