Skip to content

项目架构

1.图示

CleanShot 2025-01-29 at 15.49.09@2x

2.说明

1.sunrays-dependencies

  • 职责:管理项目的依赖版本及配置。
  • 描述:独立模块,不继承其他模块。

2.sunrays-framework

  • 职责:统一管理整个项目,继承 sunrays-dependencies
  • 描述:作为项目的核心框架模块,负责整体项目的基础配置和管理。

3.sunrays-common

  • 职责:封装通用组件,继承 sunrays-framework
  • 描述:包括一些通用的工具类、公共模块等。

4.sunrays-common-cloud

  • 职责:封装 Cloud 相关的通用组件,继承 sunrays-framework
  • 描述:包括 Cloud 相关的基础设施和服务封装。

5.sunrays-common-demo

  • 职责:提供 sunrays-commonsunrays-common-cloud 的测试 demo,继承 sunrays-framework
  • 描述:用于验证 sunrays-commonsunrays-common-cloud 子模块的功能和集成。

6.sunrays-combinations

  • 职责:管理业务依赖,或者作为中台,继承 sunrays-framework
  • 描述:通过组合 sunrays-commonsunrays-common-cloud 完成具体的业务依赖管理。

7.sunrays-combinations-demo

  • 职责:提供 sunrays-combinations 模块的测试 demo,继承 sunrays-framework
  • 描述:用于验证 sunrays-combinations 模块的功能和集成。