Files
order_site/docs/履约配置/UID领取与旧单兼容.md
T
yml2213 8de56b0354 优化 UID 履约闸门、运营可见性与一键兑换
lewan 发货强制 expectedUid 并取消无 UID 旧路径回落;任务详情展示 UID 匹配态;领取页匹配后可一键兑换;补充 identity 单测并收口短链说明。
2026-07-10 13:51:02 +08:00

29 lines
935 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# UID 领取闸门与旧单兼容
## 规则(现行)
1. **所有 lewan 自动发货**必须存在 `context.claimIdentity.expectedUid`
2. 绑定角色 ID`rid`)必须与 expectedUid 一致,否则禁止 confirm / redeem / dispatch。
3. **旧单无 UID**:用户打开领取页补填 UID 后继续;后台发货也会被拦截并提示补 UID。
4. **不再**使用「仅确认角色、无 UID」的静默兼容路径。
5. feifei:用户填 UID 后拼入 H5;对外仍只返回本站 claimUrl。
## 运营可见
任务详情「履约链路总览」展示:
- 填写 UID
- 绑定角色 ID / 名
- 匹配状态
- 兼容模式(UID 闸门 / 旧单无 UID)
## 用户领取
- Step1:填 UID
- Step2:绑定;匹配成功后可 **一键确认兑换**(无需再点「下一步」)
- mock 任务仍可不调真实 CT
## 短链
feifei claim 不再生成 shortLink`/s/{code}` 仅解析历史链接。