Add files via upload

This commit is contained in:
agoodday
2026-03-09 21:08:25 +08:00
committed by GitHub
parent 5ccca02e00
commit 2dfbf4b3cf

View File

@@ -236,7 +236,7 @@ export async function generateUSAddress(selectedState = 'RANDOM') {
stateCode, stateCode,
zip, zip,
fullAddress, fullAddress,
country: '美国' country: 'US'
}; };
} catch (error) { } catch (error) {
console.error('Error generating US address:', error); console.error('Error generating US address:', error);
@@ -391,7 +391,7 @@ export async function generateHKAddress(selectedRegion = 'RANDOM', isEnglish = f
area: city, // 保留原字段以兼容 area: city, // 保留原字段以兼容
fullAddress, fullAddress,
zip, zip,
country: isEnglish ? '香港 Hong Kong' : '香港' country: 'HK'
}; };
} catch (error) { } catch (error) {
console.error('Error generating HK address:', error); console.error('Error generating HK address:', error);
@@ -500,7 +500,7 @@ export async function generateUKAddress(selectedRegion = 'RANDOM') {
postcode, postcode,
region: regionNameEn, // 显示英文地区名 region: regionNameEn, // 显示英文地区名
fullAddress, fullAddress,
country: '英国' country: 'UK'
}; };
} catch (error) { } catch (error) {
console.error('Error generating UK address:', error); console.error('Error generating UK address:', error);
@@ -610,7 +610,7 @@ export async function generateCAAddress(selectedProvince = 'RANDOM') {
postcode, postcode,
province: provinceNameEn, // 显示英文省份名 province: provinceNameEn, // 显示英文省份名
fullAddress, fullAddress,
country: '加拿大' country: 'CA'
}; };
} catch (error) { } catch (error) {
console.error('Error generating CA address:', error); console.error('Error generating CA address:', error);
@@ -778,7 +778,7 @@ export async function generateJPAddress(selectedPrefecture = 'RANDOM') {
prefecture: prefectureName, prefecture: prefectureName,
postcode, postcode,
fullAddress, fullAddress,
country: '日本' country: 'JP'
}; };
} catch (error) { } catch (error) {
console.error('Error generating JP address:', error); console.error('Error generating JP address:', error);
@@ -897,7 +897,7 @@ export async function generateINAddress(selectedState = 'RANDOM') {
state: stateNameEn, // 显示英文邦名 state: stateNameEn, // 显示英文邦名
pin, pin,
fullAddress, fullAddress,
country: '印度' country: 'IN'
}; };
} catch (error) { } catch (error) {
console.error('Error generating IN address:', error); console.error('Error generating IN address:', error);
@@ -1022,7 +1022,7 @@ export async function generateTWAddress(selectedCounty = 'RANDOM') {
district, district,
postcode, postcode,
fullAddress, fullAddress,
country: '台灣' country: 'TW'
}; };
} catch (error) { } catch (error) {
console.error('Error generating TW address:', error); console.error('Error generating TW address:', error);
@@ -1418,7 +1418,7 @@ export async function generateSGAddress(selectedState = 'RANDOM') {
state: stateNameEn, state: stateNameEn,
stateCode: stateKey, stateCode: stateKey,
fullAddress, fullAddress,
country: '新加坡' country: 'SG'
}; };
} catch (error) { } catch (error) {
console.error('Error generating SG address:', error); console.error('Error generating SG address:', error);
@@ -1530,7 +1530,7 @@ export async function generateDEAddress(selectedState = 'RANDOM') {
state: stateNameEn, state: stateNameEn,
stateCode: stateKey, stateCode: stateKey,
fullAddress, fullAddress,
country: '德国' country: 'DE'
}; };
} catch (error) { } catch (error) {
console.error('Error generating DE address:', error); console.error('Error generating DE address:', error);