How yangze531/ruoyi-vue-pro works
Yudao is an open-source, Spring Boot multi-module rapid-development platform with Vue administration clients and a broad set of business modules. The main user workflow is an administrator or member using a client to authenticate and work with platform capabilities; documented branches include workflow, commerce, CRM/ERP/MES, AI, IoT, reporting, and code generation. The graph combines sampled service interfaces with README-documented capabilities; where implementation details were not sampled, it avoids asserting internal call sequences.
Main entry points: DefaultController.java Backend API · index.ts Vue admin UI · AdminAuthService.java Admin authentication · MemberAuthService.java Member authentication
Components 24
Clients and API
- Vue admin UI
yudao-ui/yudao-ui-admin-vue3/src/api/mes/wm/sn/index.ts - Backend API
yudao-server/src/main/java/cn/iocoder/yudao/server/controller/DefaultController.java
Platform foundation
- Admin authentication
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/auth/AdminAuthService.java - Member authentication
yudao-module-member/src/main/java/cn/iocoder/yudao/module/member/service/auth/MemberAuthService.java - OAuth2 tokens
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/oauth2/OAuth2TokenService.java - Result and errors
yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/pojo/CommonResult.java - Pagination model
yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/pojo/PageResult.java - Collection utilities
yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/collection/CollectionUtils.java - Security and permissions
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/core/service/SecurityFrameworkService.java - Tenant support
yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/core/db/TenantDatabaseInterceptor.java
Business modules
- Workflow tasks
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/service/task/BpmTaskService.java - Commerce and trade
yudao-module-mall/yudao-module-trade/src/main/java/cn/iocoder/yudao/module/trade/service/order/TradeOrderQueryService.java - Brokerage
yudao-module-mall/yudao-module-trade/src/main/java/cn/iocoder/yudao/module/trade/service/brokerage/BrokerageRecordService.java - CRM
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/business/CrmBusinessService.java - ERP
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/purchase/ErpPurchaseOrderService.java - Manufacturing
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pro/route/MesProRouteService.java - AI knowledge
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/knowledge/AiKnowledgeSegmentService.java - IoT devices
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/service/device/IotDeviceService.java
Platform extensions
- Code generation
yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenEngine.java - Reports and dashboards
- Realtime messaging
yudao-framework/yudao-spring-boot-starter-websocket/src/main/java/cn/iocoder/yudao/framework/websocket/core/session/WebSocketSessionManagerImpl.java
Other components
- Admin user
- Member user
- External providers
Connections 21
- Admin user → Vue admin UI: uses
- Member user → Backend API: uses
- Vue admin UI → Backend API: calls API
- Backend API → Admin authentication: serves admin auth
- Backend API → Member authentication: serves member auth
- Admin authentication → OAuth2 tokens: issues tokens
- Member authentication → OAuth2 tokens: uses tokens
- Backend API → Workflow tasks: exposes
- Backend API → Commerce and trade: exposes
- Backend API → CRM: exposes
- Backend API → ERP: exposes
- Backend API → Manufacturing: exposes
- Backend API → AI knowledge: exposes
- Backend API → IoT devices: exposes
- Backend API → Reports and dashboards: exposes
- Commerce and trade → Brokerage: includes
- Backend API → Security and permissions: uses
- Backend API → Tenant support: supports tenants
- Backend API → Code generation: offers generation
- Backend API → Realtime messaging: supports realtime
- Backend API → External providers: integrates providers