fix(express): 寄件人国家默认值由空值改为 CN
菠萝派下单寄件人 country 传空会被平台判为无效地址,统一默认 CN。 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
226a2659d7
commit
359b51eb37
@ -893,7 +893,7 @@ class ExpressPlatformService extends MainService {
|
|||||||
name: listByWarehousePlatformCode.sender_name || '',
|
name: listByWarehousePlatformCode.sender_name || '',
|
||||||
phone: order.sys_platform_code === 'XHS' ? undefined : listByWarehousePlatformCode.sender_tel || '',
|
phone: order.sys_platform_code === 'XHS' ? undefined : listByWarehousePlatformCode.sender_tel || '',
|
||||||
mobile: order.sys_platform_code === 'XHS' ? listByWarehousePlatformCode.sender_tel : undefined,
|
mobile: order.sys_platform_code === 'XHS' ? listByWarehousePlatformCode.sender_tel : undefined,
|
||||||
country: '',
|
country: 'CN',
|
||||||
city: listByWarehousePlatformCode.city_name || '',
|
city: listByWarehousePlatformCode.city_name || '',
|
||||||
province: listByWarehousePlatformCode.province_name || '',
|
province: listByWarehousePlatformCode.province_name || '',
|
||||||
area: listByWarehousePlatformCode.district_name || '',
|
area: listByWarehousePlatformCode.district_name || '',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user