mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 21:21:55 +08:00 
			
		
		
		
	修复IP查询结果显示时可能不显示县级单位的问题
This commit is contained in:
		@@ -177,7 +177,7 @@ func (this *QueryResult) Summary() string {
 | 
			
		||||
		pieces = append(pieces, cityName)
 | 
			
		||||
	}
 | 
			
		||||
	if len(townName) > 0 && !lists.ContainsString(pieces, townName) && !lists.ContainsString(pieces, strings.TrimSuffix(townName, "县")) {
 | 
			
		||||
		pieces = append(pieces, cityName)
 | 
			
		||||
		pieces = append(pieces, townName)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if len(providerName) > 0 && !lists.ContainsString(pieces, providerName) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user