backend-modules.canvas 4.5 KB

123456789101112131415161718192021222324252627282930
  1. {
  2. "nodes":[
  3. {"id":"title","type":"text","text":"# YShop Drink 后端模块架构\n\n基于 Spring Boot 3 + Maven 多模块","x":-200,"y":-380,"width":400,"height":80,"color":"1"},
  4. {"id":"server","type":"text","text":"## yshop-server\n\n**启动入口**\n- Spring Boot Application\n- 配置文件管理\n- 端口: 8080","x":-150,"y":-260,"width":300,"height":140,"color":"6"},
  5. {"id":"framework","type":"text","text":"## yshop-framework\n\n**核心框架**\n- yshop-common: 通用工具\n- yshop-spring-boot-starter-biz-*\n- yshop-spring-boot-starter-security\n- yshop-spring-boot-starter-mybatis\n- yshop-spring-boot-starter-redis\n- yshop-spring-boot-starter-web","x":-150,"y":-80,"width":300,"height":200,"color":"5"},
  6. {"id":"module-system","type":"text","text":"### yshop-module-system\n\n**系统管理**\n- 用户管理\n- 角色权限\n- 部门管理\n- 菜单管理\n- 字典管理\n- 操作日志","x":-600,"y":200,"width":220,"height":200,"color":"4"},
  7. {"id":"module-infra","type":"text","text":"### yshop-module-infra\n\n**基础设施**\n- 文件存储\n- 配置中心\n- 代码生成\n- API日志\n- 定时任务","x":-340,"y":200,"width":220,"height":200,"color":"4"},
  8. {"id":"module-mall","type":"text","text":"### yshop-module-mall\n\n**商城核心** (最重要)\n\n- **product**: 商品/分类/规格\n- **order**: 订单管理\n- **store**: 门店管理\n- **desk**: 桌号管理\n- **cart**: 购物车\n- **cashier**: 收银台","x":-80,"y":200,"width":260,"height":220,"color":"3"},
  9. {"id":"module-member","type":"text","text":"### yshop-module-member\n\n**会员管理**\n- 用户信息\n- 会员等级\n- 收货地址\n- 浏览历史","x":220,"y":200,"width":220,"height":180,"color":"4"},
  10. {"id":"module-pay","type":"text","text":"### yshop-module-pay\n\n**支付模块**\n- 微信支付\n- 支付宝支付\n- 余额支付\n- 充值管理\n- 支付订单\n- 退款管理","x":-600,"y":460,"width":220,"height":200,"color":"4"},
  11. {"id":"module-marketing","type":"text","text":"### yshop-module-marketing\n\n**营销活动**\n- 优惠券管理\n- 满减活动\n- 限时折扣\n- 新人礼包","x":-340,"y":460,"width":220,"height":180,"color":"4"},
  12. {"id":"module-score","type":"text","text":"### yshop-module-score\n\n**积分系统**\n- 积分规则\n- 积分记录\n- 积分商城\n- 积分兑换","x":-80,"y":460,"width":220,"height":180,"color":"4"},
  13. {"id":"module-message","type":"text","text":"### yshop-module-message\n\n**消息通知**\n- 短信通知\n- 微信模板消息\n- 站内消息\n- 云小票打印","x":180,"y":460,"width":220,"height":180,"color":"4"},
  14. {"id":"module-mp","type":"text","text":"### yshop-module-mp\n\n**微信公众号**\n- 菜单管理\n- 自动回复\n- 素材管理\n- 粉丝管理","x":-600,"y":700,"width":220,"height":180,"color":"4"},
  15. {"id":"module-express","type":"text","text":"### yshop-module-express\n\n**物流配送**\n- 同城配送\n- 快递对接\n- 配送费计算\n- 配送区域","x":-340,"y":700,"width":220,"height":180,"color":"4"},
  16. {"id":"module-merchant","type":"text","text":"### yshop-module-merchant\n\n**商户管理**\n- 商户入驻\n- 商户结算\n- 商户认证","x":-80,"y":700,"width":220,"height":160,"color":"4"},
  17. {"id":"dependencies","type":"text","text":"### yshop-dependencies\n\n**依赖管理 BOM**\n- 统一版本控制\n- Spring Boot 3.2.2\n- MyBatis Plus\n- 第三方库版本","x":180,"y":700,"width":220,"height":160,"color":"2"}
  18. ],
  19. "edges":[
  20. {"id":"edge-server-framework","fromNode":"server","fromSide":"bottom","toNode":"framework","toSide":"top","label":"依赖"},
  21. {"id":"edge-framework-system","fromNode":"framework","fromSide":"bottom","toNode":"module-system","toSide":"top"},
  22. {"id":"edge-framework-infra","fromNode":"framework","fromSide":"bottom","toNode":"module-infra","toSide":"top"},
  23. {"id":"edge-framework-mall","fromNode":"framework","fromSide":"bottom","toNode":"module-mall","toSide":"top"},
  24. {"id":"edge-framework-member","fromNode":"framework","fromSide":"bottom","toNode":"module-member","toSide":"top"},
  25. {"id":"edge-mall-pay","fromNode":"module-mall","fromSide":"bottom","toNode":"module-pay","toSide":"top","label":"订单支付"},
  26. {"id":"edge-mall-marketing","fromNode":"module-mall","fromSide":"bottom","toNode":"module-marketing","toSide":"top","label":"优惠计算"},
  27. {"id":"edge-mall-score","fromNode":"module-mall","fromSide":"bottom","toNode":"module-score","toSide":"top","label":"积分抵扣"},
  28. {"id":"edge-mall-message","fromNode":"module-mall","fromSide":"bottom","toNode":"module-message","toSide":"top","label":"订单通知"}
  29. ]
  30. }