Appearance
微服务模块地图
全量服务筛选视图
以下交互表格按「分类」列提供一键筛选与关键字检索,涵盖 muotai-backend/pom.xml 中全部 20 个顶层模块及 boot Profile 下的聚合模块:
| 服务名称 | 源码模块 | 源码默认端口 | 分类 | 主要职责与定位 |
|---|---|---|---|---|
| Register | muotai-register | 8848 | 平台基建 | Nacos 3.1.0 服务注册与配置中心(默认配置库为 PostgreSQL) |
| Gateway | muotai-gateway | 9999 | 平台基建 | Spring Cloud Gateway 统一入口、动态路由、MCP API Key 鉴权与 StripPrefix=1 |
| Auth | muotai-auth | 3000 | 平台基建 | OAuth2 令牌签发、刷新、登出、验证码与多端登录认证 |
| UPMS | muotai-upms/muotai-upms-biz | 4000 | 平台基建 | 用户、组织、角色、菜单、租户与 API Key 权限中枢 |
| Common | muotai-common/* | 无独立端口 | 平台基建 | 30 个公共基础库(原 pigx-common),不作为独立进程部署 |
| AI | muotai-ai/muotai-ai-biz | 6062 | AI 与协作 | 智能体运行时、LangGraph4j 编排、LLM、RAG、Skill、MCP、VFS、沙箱与轻应用宿主 |
| Doc Space | muotai-doc-space/muotai-doc-space-biz | 6061 | AI 与协作 | 文档房间、文件元数据、MinerU/本地文档解析与协作草稿 |
| Light App Data | muotai-light-app-data/muotai-light-app-data-biz | 6073 | AI 与协作 | 轻应用后端结构化业务数据、文档审查、软著申报与任务回调 |
| Audit | muotai-audit/muotai-audit-biz | 6063 | 行业生态 | 审计项目、底稿、风险分析与审计报告,内置 mcp-audit-server |
| Standard | muotai-standard/muotai-standard-biz | 6064 | 行业生态 | 标准体系管理、法规库与外部标准制修订 |
| HMC | muotai-hmc/muotai-hmc-biz | 6065 | 行业生态 | 文档起草编排、设备管理与实时态势(CDC) |
| Expert | muotai-expert/muotai-expert-biz | 6066 | 行业生态 | 专家服务、工单派单与合规配额管理 |
| Vehicle MCP | muotai-vehicle-mcp/muotai-vehicle-mcp-biz | ${VEHICLE_MCP_PORT:6067} | 行业生态 | 车辆领域 Streamable MCP 工具服务(mcp-vehicle-server)与内部认证 |
| Accounting | muotai-accounting-data/muotai-accounting-data-biz | 6070 | 行业生态 | 财务科目、会计维度数据与报表分析 |
| MBTI | muotai-app-mbti/muotai-app-mbti-biz | 7061 | 行业生态 | MBTI 垂直轻应用与用户画像服务 |
| WFlow | muotai-wflow/muotai-wflow-biz | 7062 | 行业生态 | 基于 Flowable 6.8.0 的可视化审批流程引擎与待办任务 |
| SPG | muotai-spg/muotai-spg-biz | 9020 | 行业生态 | 基于 Neo4j + MySQL 的 SPG 语义知识图谱与 KGDSL 查询 |
| Pay | muotai-pay | 5010 | 商业运营 | 微信/支付宝渠道接入、收单、退款与支付回调转发 |
| Billing | muotai-billing/muotai-billing-biz | 5020 | 商业运营 | 墨点账户、交易单、订阅权益、套餐与 AI 用量计费 |
| Growth | muotai-growth/muotai-growth-biz | 5021 | 商业运营 | 裂变邀请、奖励发放与增长运营活动 |
| Boot(聚合) | muotai-boot(-Pboot) | ${MUOTAI_BOOT_PORT:8080} | 聚合部署 | 将 Auth + UPMS + AI + Billing + Pay 聚合为单进程交付物 |
静态速查表(供全文搜索与离线核对)
| 服务 | 源码模块 | 默认端口 | 典型服务名(@artifactId@) | 关键协作关系 |
|---|---|---|---|---|
| Register | muotai-register | 8848 | muotai-register | 所有微服务向其注册并拉取 Nacos 配置 |
| Gateway | muotai-gateway | 9999 | muotai-gateway | 所有浏览器/客户端流量入口,调用 UPMS 校验 MCP API Key |
| Auth | muotai-auth | 3000 | muotai-auth | 依赖 UPMS 查用户与客户端,依赖 Redis 存 OAuth2 令牌 |
| UPMS | muotai-upms/muotai-upms-biz | 4000 | muotai-upms-biz | 为各服务提供用户、权限、租户与 API Key 基础数据 |
| AI | muotai-ai/muotai-ai-biz | 6062 | muotai-ai-biz | 调用 UPMS、DocSpace、Billing、Growth、SPG 与外部 MCP 服务 |
| Doc Space | muotai-doc-space/muotai-doc-space-biz | 6061 | muotai-doc-space-biz | 与 AI 协同管理房间与文档,对接 MinIO/OSS 与解析器 |
| Light App Data | muotai-light-app-data/muotai-light-app-data-biz | 6073 | muotai-light-app-data-biz | 承接轻应用结构化数据、文档审查与软著业务回调 |
| Audit | muotai-audit/muotai-audit-biz | 6063 | muotai-audit-biz | 独立审计业务,并向 Nacos 注册 mcp-audit-server(SSE) |
| Standard | muotai-standard/muotai-standard-biz | 6064 | muotai-standard-biz | 标准化管理与法规库,共用对象存储桶 muotai-doc-space |
| HMC | muotai-hmc/muotai-hmc-biz | 6065 | muotai-hmc-biz | 实时态势与编排服务 |
| Expert | muotai-expert/muotai-expert-biz | 6066 | muotai-expert-biz | 专家工单派单与合规配额 |
| Vehicle MCP | muotai-vehicle-mcp/muotai-vehicle-mcp-biz | 6067 | muotai-vehicle-mcp-biz | 车辆领域 MCP Server(Streamable HTTP),端口支持 VEHICLE_MCP_PORT 覆盖 |
| Accounting | muotai-accounting-data/muotai-accounting-data-biz | 6070 | muotai-accounting-data-biz | 财务维度数据与报表服务 |
| MBTI | muotai-app-mbti/muotai-app-mbti-biz | 7061 | muotai-app-mbti-biz | C 端 MBTI 应用 |
| WFlow | muotai-wflow/muotai-wflow-biz | 7062 | muotai-wflow-biz | Flowable 工作流引擎,注意响应体使用 Rsp<T>(成功码 200) |
| SPG | muotai-spg/muotai-spg-biz | 9020 | muotai-spg-biz | 知识图谱与 KGDSL 服务,依赖 MySQL 与 Neo4j |
| Pay | muotai-pay | 5010 | muotai-pay | 支付网关收单与回调,经 RocketMQ 通知 Billing |
| Billing | muotai-billing/muotai-billing-biz | 5020 | muotai-billing-biz | 交易单、权益、墨点余额与 AI 用量结算 |
| Growth | muotai-growth/muotai-growth-biz | 5021 | muotai-growth-biz | 邀请裂变与增长奖励 |
| Boot | muotai-boot | 8080 | muotai-boot | 单进程聚合交付形态,本地/轻量化部署使用 |
端口与部署说明
- 上表端口均来自各模块
src/main/resources/application.yml(muotai-register来自application.properties中的nacos.server.main.port=8848),代表源码默认值,不代表所有已部署环境的实际监听端口。 - 生产与测试环境中
muotai-ai(源码6062vs Compose/Dockerfile6060)、muotai-upms(源码4000vs 开发 Compose4011)、muotai-spg(源码9020vs 历史muotai-knowledge:9010)存在已知端口或命名差异,部署前务必查阅服务端口与部署单元与Compose 文件现状核对。 - 各服务的具体 Controller 入口路径与 SQL 脚本位置,见后端服务源码证据表。