How mrlizard12138/heshu works
合署 is an internal departmental digital-workbench platform with a unified login and entry point. Users administer members and permissions, design and publish surveys, collect and analyze submissions, configure review projects and score live survey or Feishu records, and run efficiency-tool workflows. The map keeps those product stages distinct while showing the shared web/API boundary and platform services. README documentation establishes several capabilities not represented in sampled source; those branches are included at subsystem level, without asserting unsampled internal call sequences.
Main entry points: app.tsx Web application · api.ts Session and API · composition_root.ts Platform app · review Review services
Components 18
Web workbench
- Web application
clients/web/src/app/app.tsx - Session and API
clients/web/src/app/api.ts - Administration
clients/web/src/modules/administration
Survey lifecycle
- Survey workspace
clients/web/src/modules/survey - Survey logic
clients/web/src/modules/survey/source/shared/logicEngine.ts - Survey services
server/platform/src/modules/survey - Survey file store
server/platform/src/infrastructure/files/object_store.ts
Review scoring
- Review workspace
clients/web/src/modules/review - Review services
server/platform/src/modules/review - External connections
server/platform/src/modules/integrations
Platform services
- API contracts
packages/contracts/src/index.ts - Platform app
server/platform/src/app/composition_root.ts - MySQL database
server/platform/src/infrastructure/database/database.ts - Admin services
server/platform/src/modules/administration
Efficiency tools
- Tool workbench
clients/web/src/modules/tools - Python tools service
server/tools
Other components
- Department staff
- Feishu platform
Connections 24
- Department staff → Web application: uses
- Web application → Session and API: requests
- Web application → Administration: opens module
- Web application → Survey workspace: opens module
- Web application → Review workspace: opens module
- Web application → Tool workbench: opens module
- Administration → Session and API: calls API
- Survey workspace → Session and API: calls API
- Review workspace → Session and API: calls API
- Tool workbench → Session and API: calls API
- Survey workspace → Survey logic: evaluates rules
- Session and API → Platform app: sends requests
- Platform app → API contracts: uses shapes
- Platform app → Admin services: dispatches
- Platform app → Survey services: dispatches
- Platform app → Review services: dispatches
- Admin services → MySQL database: reads and writes
- Survey services → MySQL database: reads and writes
- Survey services → Survey file store: stores files
- Review services → MySQL database: reads and writes
- Review services → Survey services: reads survey sources
- Review services → External connections: uses connections
- External connections → Feishu platform: calls API
- Tool workbench → Python tools service: runs workflows