1.0.20 现场踩坑:upsert 统一要求「基址与密钥」,但 passthrough 设计是 Key 可空(内部服务免鉴权,handler 已经放空 Key 转发),管理台提交 passthrough + 空 Key 直接 400。 修:vendor 必须 base + key 都填;passthrough 仅 base 必填,key 可空。 补 2 条测试断言防回归(vendor 缺 Key → 400;passthrough 空 Key → 200)。 回归 227/0 全绿。
1.0.20 现场踩坑:upsert 统一要求「基址与密钥」,但 passthrough 设计是 Key 可空(内部服务免鉴权,handler 已经放空 Key 转发),管理台提交 passthrough + 空 Key 直接 400。 修:vendor 必须 base + key 都填;passthrough 仅 base 必填,key 可空。 补 2 条测试断言防回归(vendor 缺 Key → 400;passthrough 空 Key → 200)。 回归 227/0 全绿。