From fe8a4f146ee78d521c617a8316b10ecf964a6ce7 Mon Sep 17 00:00:00 2001 From: king Date: Fri, 19 Jun 2026 19:13:37 +0900 Subject: [PATCH] =?UTF-8?q?fix(dispatch):=20J&T=20=EC=A1=B0=ED=9A=8C?= =?UTF-8?q?=EB=A5=BC=2017TRACK=20=EC=9C=BC=EB=A1=9C=20+=20Order=20ID=20?= =?UTF-8?q?=EB=9D=BC=EB=B2=A8=20=ED=99=95=EB=8C=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - J&T gzquery 엔드포인트 404 → 17TRACK(#nums 자동입력·조회)로 교체 (J&T MY 공식 딥링크는 송장 자동입력 미지원). Ninja Van 은 공식 유지. - 'Order ID' 라벨 14px 로 확대(숫자 크기는 유지) Co-Authored-By: Claude Opus 4.8 --- app/modules/dispatch/store.py | 3 ++- app/modules/dispatch/templates/dispatch/detail.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/modules/dispatch/store.py b/app/modules/dispatch/store.py index 61f3d85..f959076 100644 --- a/app/modules/dispatch/store.py +++ b/app/modules/dispatch/store.py @@ -264,7 +264,8 @@ def courier_logo_url(provider: Any) -> str: # 매핑 없는 배송사는 링크 없이 텍스트로 표시(courier_tracking_url 가 "" 반환). _COURIER_TRACK_URL: dict[str, str] = { "ninjavan": "https://www.ninjavan.co/en-my/tracking?id={t}", - "jnt": "https://www.jtexpress.my/index/query/gzquery.html?bills={t}", + # J&T MY 공식 딥링크는 송장 자동입력이 안 돼 17TRACK 으로(범용, #nums 자동조회). + "jnt": "https://t.17track.net/en#nums={t}", "flash": "https://www.flashexpress.my/fle/tracking?se={t}", "citylink": "https://www.citylinkexpress.com/tracking-result/?track_no={t}", "poslaju": "https://track.pos.com.my/postal-services/quick-access/?track-trace&trackingNo03={t}", diff --git a/app/modules/dispatch/templates/dispatch/detail.html b/app/modules/dispatch/templates/dispatch/detail.html index 2cb32bf..9095b55 100644 --- a/app/modules/dispatch/templates/dispatch/detail.html +++ b/app/modules/dispatch/templates/dispatch/detail.html @@ -14,7 +14,7 @@ .dsp-meta { font-size:13px;line-height:1.5;color:#334155;word-break:break-all; } .dsp-meta b { color:#0f172a; } .dsp-order { font-size:15px;line-height:1.3;color:#334155;word-break:break-all; } - .dsp-order b { display:block;font-size:11px;font-weight:600;color:#64748b;letter-spacing:.5px; } + .dsp-order b { display:block;font-size:14px;font-weight:700;color:#475569;letter-spacing:.5px; } .dsp-order span { font-size:27px;font-weight:800;color:#0f172a;letter-spacing:.2px; } .dsp-track-link { color:#2563eb;font-weight:700;text-decoration:underline; text-decoration-thickness:2px;text-underline-offset:3px;cursor:pointer; }