Chapter 04System Services

System Services — service layer

37 backend microservices grouped by domain. Six shared platform services provide common infrastructure for every app.

37 microservices · eight service groups

Built with Go + Hertz, grouped by domain, independently deployed and scaled

Gateway & auth

gateway

auth-service

Energy business

energy-service

charging-service

solar-service

meter-service

power-trading-service

Carbon management

carbon-service

carbon-benefit-service

inventory-service

pcf-service

supervision-service

Enterprise

enterprise-service

finance-service

crm-service

contract-service

project-service

production-service

Scenes & facilities

aircon-service

parking-service

water-saving-service

gov-office-service

AI & IoT

ai-agent-service

interop-service

twin-service

atan-service

Platform services

notification-service

approval-service

todo-service

workorder-service

Foundation services

file-service

policy-service

ops-service

mini-service

Six shared platform services

Messaging · approval · tickets · alerts · contracts · reports — shared infrastructure for every app

Message center

In-app, email, SMS, and WeCom channels

Approval center

Visual workflows with mobile approval

Work orders

Alert → ticket → resolution → close

Alert management

Multi-source ingest, four-level classification, linked handling

Contract center

Full-type life cycle with AI recognition

Report engine

Multi-dimension analysis, multi-format export

Microservice design principles

Independent deploy

Each service compiles, deploys, and scales on its own

Independent schema

Each service owns its own database schema

Service discovery

Nginx gateway routes and load-balances traffic

Graceful fallback

A single-service failure does not take others down