wealth-insurance-flow.md 1.8 KB

用户使用流程图 — 财富与保险

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,shape:box

    subgraph 财商打卡
        A1(("用户")) --> A2[获取打卡列表 /wealth/checkin/list]
        A2 --> A3[获取打卡统计 /wealth/checkin/stats]
        A3 --> A4[创建打卡 /wealth/checkin/create]
        A4 --> A5[删除打卡 /wealth/checkin/delete]
    end

    subgraph 保险规划
        A5 --> B1[获取保险规划报告 /insurance/planning]
    end

    subgraph 保单管理
        B1 --> C1[获取保单列表 /wealth/insurance/list]
        C1 --> C2[获取保单详情 /wealth/insurance/detail]
        C2 --> C3[创建保单 /wealth/insurance/create]
        C3 --> C4[更新保单 /wealth/insurance/update]
        C4 --> C5[删除保单 /wealth/insurance/delete]
    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 删除保单