用户使用流程图 — 其他功能
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[设置吉祥物 /user/mascot/set]
A2 --> A3[获取吉祥物 /user/mascot/get]
end
subgraph 用户分群
A3 --> B1[RFM计算 /segmentation/rfm/calculate]
B1 --> B2[RFM详情 /segmentation/rfm/detail]
B2 --> B3[触发规则 /segmentation/trigger/rules]
end
subgraph 外部同步
B3 --> C1[同步客户到zkxz /sncp/addClient/{clientId}]
C1 --> C2[获取通知 /sncp/notice/{userLogin}]
end
subgraph 每日反馈
C2 --> D1[获取今日反馈 /feedback/today]
D1 --> D2[标记已读 /feedback/read]
D2 --> D3[获取最近反馈 /feedback/recent]
end
subgraph 健康互动
D3 --> E1[点赞 /health/interact/like]
end
subgraph 商品推荐
E1 --> F1[维度页推荐 /recommend/dimension-products]
end
subgraph 通用工具
F1 --> G1[生成小程序码 /common/qrcode]
end
R1(("👤 用户")):::actor
A1 -.- R1
端点明细
| 端点 |
说明 |
/api/user/mascot/set |
设置吉祥物 |
/api/user/mascot/get |
获取吉祥物 |
/api/segmentation/rfm/calculate |
RFM计算 |
/api/segmentation/rfm/detail |
RFM详情 |
/api/segmentation/trigger/rules |
触发规则 |
/api/sncp/addClient/{clientId} |
同步客户 |
/api/sncp/notice/{userLogin} |
获取通知 |
/api/feedback/today |
今日反馈 |
/api/feedback/read |
标记已读 |
/api/feedback/recent |
最近反馈 |
/api/health/interact/like |
点赞 |
/api/recommend/dimension-products |
维度推荐 |
/api/common/qrcode |
生成小程序码 |
/api/onboarding/progress |
引导进度 |
/api/onboarding/claim |
领取奖励 |