能管平台(aicode)

代码仓库:git@gitee.com:infinite-pole_3/aicode.git 本地路径:/root/projects/aicode 知识库创建:2026-05-22

项目概述

基于 芋道(RuoYi-Vue-Pro) 快速开发平台构建的能源管理平台。前后端分离架构,企业级功能完备。

技术栈

前端

技术 版本/说明
框架 Vue 3 + TypeScript
构建 Vite 4
UI Element Plus
流程图 AntV X6(规则引擎可视化)
状态管理 Pinia
路由 Vue Router 4

后端

技术 版本/说明
语言 Java
框架 Spring Boot
构建 Maven 多模块
ORM MyBatis-Plus
缓存 Redis
消息队列 MQTT / Kafka
数据库 MySQL(主),支持 PostgreSQL/Oracle/SQL Server 等
部署 Docker

模块架构

infanten (parent)
├── infanten-dependencies       # 依赖管理
├── infanten-framework/         # 框架层(15+ starters)
│   ├── infanten-common
│   ├── infanten-spring-boot-starter-web
│   ├── infanten-spring-boot-starter-security
│   ├── infanten-spring-boot-starter-mybatis
│   ├── infanten-spring-boot-starter-redis
│   ├── infanten-spring-boot-starter-mq
│   ├── infanten-spring-boot-starter-mqtt
│   ├── infanten-spring-boot-starter-websocket
│   └── ... (monitor, job, excel, protection 等)
├── infanten-module-system      # 系统管理
├── infanten-module-infra       # 基础设施
├── infanten-module-rule        # 规则引擎(AntV X6 规则流)
└── infanten-server             # 主服务入口

开发规范

根据用户要求,本项目开发新功能时必须单独新建分支

cd /root/projects/aicode
git checkout -b feature/<功能名>

文件位置

  • 方案设计:plan.md
  • 任务拆解:tasks.md
  • 技术决策:decisions.md