相关区域名称可以显示别名

This commit is contained in:
刘祥超
2022-08-23 19:15:44 +08:00
parent 5a8e281fb1
commit 20b89a8ddd
12 changed files with 20 additions and 20 deletions

View File

@@ -40,7 +40,7 @@ func (this *IndexAction) RunGet(params struct{}) {
if country != nil {
countryMaps = append(countryMaps, maps.Map{
"id": country.Id,
"name": country.Name,
"name": country.DisplayName,
})
}
}
@@ -58,7 +58,7 @@ func (this *IndexAction) RunGet(params struct{}) {
if province != nil {
provinceMaps = append(provinceMaps, maps.Map{
"id": province.Id,
"name": province.Name,
"name": province.DisplayName,
})
}
}