空运未填报价日期时不默认当天,查出舱位后由销售点选再写回日期。

包装类型里的托盘不再被抄进增值服务。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-13 18:35:52 +08:00
co-authored by Cursor
parent dda210c219
commit 7ef4a1b1cf
21 changed files with 1068 additions and 58 deletions
@@ -33,15 +33,21 @@ def issue_air_route_token(
work_order_no: str,
quote: dict[str, Any],
facts: dict[str, str] | None = None,
cabin_pick: bool = False,
ttl_seconds: int = AIR_ROUTE_TTL_SECONDS,
) -> str:
"""签发选线路 token。副作用:写 Redis 或内存。"""
"""
签发选线路 token。副作用:写 Redis 或内存。
cabin_pick=True:没填报价日期,页面按舱位六项展示,选定后不再查价。
"""
payload = json.dumps(
{
"sender_id": sender_id,
"work_order_no": work_order_no,
"quote": quote,
"facts": dict(facts or {}),
"cabin_pick": bool(cabin_pick),
},
ensure_ascii=False,
)