fix(express): 寄件人国家默认值由空值改为 CN

菠萝派下单寄件人 country 传空会被平台判为无效地址,统一默认 CN。

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
liufumingren 2026-10-28 23:06:48 +08:00
parent 226a2659d7
commit 359b51eb37

View File

@ -893,7 +893,7 @@ class ExpressPlatformService extends MainService {
name: listByWarehousePlatformCode.sender_name || '',
phone: order.sys_platform_code === 'XHS' ? undefined : listByWarehousePlatformCode.sender_tel || '',
mobile: order.sys_platform_code === 'XHS' ? listByWarehousePlatformCode.sender_tel : undefined,
country: '',
country: 'CN',
city: listByWarehousePlatformCode.city_name || '',
province: listByWarehousePlatformCode.province_name || '',
area: listByWarehousePlatformCode.district_name || '',