feat(compare): 美团比价前用券透传端点 /intent/precoupon/step #41

Merged
marco merged 1 commits from feat/meituan-precoupon into main 2026-06-10 19:35:59 +08:00

背景

客户端在美团源比价的意图识别前先循环调本端点用券。app-server 只做透传壳(决策在 pricebot-backend)。

改动

  • 新增 POST /api/v1/intent/precoupon/step → 透传到 pricebot-backend /api/intent/precoupon/step
  • /intent/step 透传壳: 不鉴权、不做 schema 校验, device_id 透传区分设备

测试

  • 链路自测(:8770 → :8000) + 真机实测用券成功

关联(跨三仓库, 同名分支 feat/meituan-precoupon)

  • WonderableAI/pricebot-backend
  • WonderableAI/shaguabijia-app-server
  • WonderableAI/shaguabijia-app-android
    改协议字段需三仓库一起改。

🤖 Generated with Claude Code

## 背景 客户端在美团源比价的**意图识别前**先循环调本端点用券。app-server 只做透传壳(决策在 pricebot-backend)。 ## 改动 - 新增 `POST /api/v1/intent/precoupon/step` → 透传到 pricebot-backend `/api/intent/precoupon/step` - 同 `/intent/step` 透传壳: 不鉴权、不做 schema 校验, device_id 透传区分设备 ## 测试 - 链路自测(:8770 → :8000) + 真机实测用券成功 ## 关联(跨三仓库, 同名分支 `feat/meituan-precoupon`) - WonderableAI/pricebot-backend - WonderableAI/shaguabijia-app-server - WonderableAI/shaguabijia-app-android **改协议字段需三仓库一起改。** 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Ghost added 1 commit 2026-06-10 19:25:03 +08:00
客户端在美团源比价的意图识别前先循环调本端点用券, 透传到 pricebot-backend 的
/api/intent/precoupon/step。同 /intent/step 透传壳: 不鉴权、不做 schema 校验。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
marco merged commit bf82c68408 into main 2026-06-10 19:35:59 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WonderableAI/shaguabijia-app-server#41