mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-01-03 01:26:35 +08:00
相关区域名称可以显示别名
This commit is contained in:
@@ -55,7 +55,7 @@ func (this *CountriesAction) RunGet(params struct {
|
||||
for _, country := range countriesResp.RegionCountries {
|
||||
countryMaps = append(countryMaps, maps.Map{
|
||||
"id": country.Id,
|
||||
"name": country.Name,
|
||||
"name": country.DisplayName,
|
||||
"letter": strings.ToUpper(string(country.Pinyin[0][0])),
|
||||
"isChecked": lists.ContainsInt64(selectedCountryIds, country.Id),
|
||||
})
|
||||
|
||||
@@ -57,7 +57,7 @@ func (this *ProvincesAction) RunGet(params struct {
|
||||
for _, province := range provincesResp.RegionProvinces {
|
||||
provinceMaps = append(provinceMaps, maps.Map{
|
||||
"id": province.Id,
|
||||
"name": province.Name,
|
||||
"name": province.DisplayName,
|
||||
"isChecked": lists.ContainsInt64(selectedProvinceIds, province.Id),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user