fix: normalize overseas PDA API paths

This commit is contained in:
2026-09-04 13:59:16 +08:00
parent f960b9fe5f
commit a386c50d9f
4 changed files with 47 additions and 11 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { overseasRequest } from './overseas.js'
const BASE = '/api/pda/v1/last-leg/pallet-operations'
const BASE = '/pda/v1/last-leg/pallet-operations'
export function resolvePallet(code) {
return overseasRequest('POST', `${BASE}/pallets/resolve`, { code: String(code || '').trim() })