901 B
901 B
联调检查清单
1. xk-api 拉取(云端)
curl -s -H "X-Hy-Transit-Token: YOUR_TOKEN" \
"https://api.example.com/api/hy/supervise/config"
curl -s -H "X-Hy-Transit-Token: YOUR_TOKEN" \
"https://api.example.com/api/hy/supervise/consult?date=2026-05-18"
期望:code=0,result.items[] 含 payload 与 validation_errors。
2. forward-go(内网)
curl http://127.0.0.1:8080/health
3. transit-go(外网 Windows)
set XK_API_TOKEN=...
set HY_APP_KEY=...
go run ./cmd/transit --step=consult --date=2026-05-18
检查本机 xk_hy_transit.hy_push_record / hy_push_log。
4. 与预览页对比
浏览器打开 /hy-supervise-preview?key=xk888666&date=2026-05-18,对比 consult/referral/recipe/verification 的 payload 字段与拉取接口一致。
5. 监管返回
hy_push_log.msg_code=200 表示业务成功。