端口说明: 📱 小程序 | 🖥 管理后台 | 📋 规划师端 | ⚙️ 系统自动
flowchart TD
%% ============ 颜色定义 ============
classDef actor fill:#e1f5fe,stroke:#0288d1,stroke-width:2px
classDef action fill:#fff3e0,stroke:#f57c00,stroke-width:1px
classDef system fill:#e8f5e9,stroke:#388e3c,stroke-width:1px
classDef decision fill:#fce4ec,stroke:#d32f2f,stroke-width:1px
classDef role fill:#f3e5f5,stroke:#7b1fa2,stroke-width:1px
classDef endpoint fill:#f5f5f5,stroke:#616161,stroke-width:1px
classDef portMiniApp fill:#e3f2fd,stroke:#1565c0,stroke-width:1px,stroke-dasharray:3 2
classDef portAdmin fill:#fce4ec,stroke:#c62828,stroke-width:1px,stroke-dasharray:3 2
classDef portGuide fill:#fff8e1,stroke:#f57f17,stroke-width:1px,stroke-dasharray:3 2
classDef portSystem fill:#f3e5f5,stroke:#6a1b9a,stroke-width:1px,stroke-dasharray:3 2
subgraph 财商打卡
A1(("👤 用户")):::portMiniApp --> A2[📱 获取打卡列表 /wealth/checkin/list]:::portMiniApp
A2 --> A3[📱 获取打卡统计 /wealth/checkin/stats]:::portMiniApp
A3 --> A4[📱 创建打卡 /wealth/checkin/create]:::portMiniApp
A4 --> A5[📱 删除打卡 /wealth/checkin/delete]:::portMiniApp
end
subgraph 保险规划
A5 --> B1[📱 获取保险规划报告 /insurance/planning]:::portMiniApp
end
subgraph 保单管理
B1 --> C1[📱 获取保单列表 /wealth/insurance/list]:::portMiniApp
C1 --> C2[📱 获取保单详情 /wealth/insurance/detail]:::portMiniApp
C2 --> C3[📱 创建保单 /wealth/insurance/create]:::portMiniApp
C3 --> C4[📱 更新保单 /wealth/insurance/update]:::portMiniApp
C4 --> C5[📱 删除保单 /wealth/insurance/delete]:::portMiniApp
end
subgraph 家庭收益
C5 --> D1[📱 收益概览 /earnings/family/summary]:::portMiniApp
D1 --> D2[📱 收益明细 /earnings/family/records]:::portMiniApp
D2 --> D3[📱 成员收益 /earnings/family/members]:::portMiniApp
end
subgraph 收益管理(管理员)
D3 --> E1[🖥 收益分配 /earnings/admin/distribute]:::portAdmin
E1 --> E2[🖥 成员开关 /earnings/admin/toggle-member]:::portAdmin
E2 --> E3[🖥 提现管理 /earnings/admin/withdraw]:::portAdmin
end
R1(("👤 用户")):::actor
R2(("💰 财务系统")):::system
A1 -.- R1
C1 -.- R2
| 端点 | 说明 | 端口 |
|---|---|---|
/api/wealth/checkin/list |
财商打卡列表 | 📱小程序 |
/api/wealth/checkin/stats |
打卡统计 | 📱小程序 |
/api/wealth/checkin/create |
创建打卡 | 📱小程序 |
/api/wealth/checkin/delete |
删除打卡 | 📱小程序 |
/api/insurance/planning |
保险规划报告 | 📱小程序 |
/api/wealth/insurance/list |
保单列表 | 📱小程序 |
/api/wealth/insurance/detail |
保单详情 | 📱小程序 |
/api/wealth/insurance/create |
创建保单 | 📱小程序 |
/api/wealth/insurance/update |
更新保单 | 📱小程序 |
/api/wealth/insurance/delete |
删除保单 | 📱小程序 |
/api/earnings/family/summary |
收益概览 | 📱小程序 |
/api/earnings/family/records |
收益明细 | 📱小程序 |
/api/earnings/family/members |
成员收益 | 📱小程序 |
/api/earnings/admin/distribute |
收益分配 | 🖥管理后台 |
/api/earnings/admin/toggle-member |
成员开关 | 🖥管理后台 |
/api/earnings/admin/withdraw |
提现管理 | 🖥管理后台 |