修复:ComparisonResultIn 补 skipped_dish_count(逐平台缺菜数落库) #186

Merged
guke merged 1 commits from fix/compare-result-in-skipped-dish into main 2026-07-27 16:13:56 +08:00
Member

pricebot 把逐平台缺菜数冗余进 comparison_results 每行,但上报入参 schema
ComparisonResultIn 未声明该字段,model_dump() 会在 POST 路径静默丢弃,
记录页三平台网格拿不到逐格「缺少 X 个菜品」。显式声明补齐 + 回归测试。

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

pricebot 把逐平台缺菜数冗余进 comparison_results 每行,但上报入参 schema ComparisonResultIn 未声明该字段,model_dump() 会在 POST 路径静默丢弃, 记录页三平台网格拿不到逐格「缺少 X 个菜品」。显式声明补齐 + 回归测试。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
guke added 1 commit 2026-07-27 16:13:42 +08:00
pricebot 把逐平台缺菜数冗余进 comparison_results 每行,但上报入参 schema
ComparisonResultIn 未声明该字段,model_dump() 会在 POST 路径静默丢弃,
记录页三平台网格拿不到逐格「缺少 X 个菜品」。显式声明补齐 + 回归测试。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
guke merged commit 8e01ae0bf9 into main 2026-07-27 16:13:56 +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#186