|
@@ -214,21 +214,31 @@ func convert2DtoNode(node *model.Node, seq int) *dto.Node {
|
|
|
"SA": "http://v.starttransfernow.com/static/SA.png",
|
|
|
"SG": "http://v.starttransfernow.com/static/SG.png",
|
|
|
"VN": "http://v.starttransfernow.com/static/VN.png",
|
|
|
+ "AE": "http://v.starttransfernow.com/static/AE.png",
|
|
|
+ "BH": "http://v.starttransfernow.com/static/BH.png",
|
|
|
+ "FR": "http://v.starttransfernow.com/static/FR.png",
|
|
|
+ "IN": "http://v.starttransfernow.com/static/IN.png",
|
|
|
+ "NL": "http://v.starttransfernow.com/static/NL.png",
|
|
|
}
|
|
|
countryLabels := map[string]string{
|
|
|
- "BR": "Brazil", // aws
|
|
|
- "DE": "Germany", // aws
|
|
|
- "HK": "Hong Kong", // aws
|
|
|
- "JP": "Japan", // aws
|
|
|
- "US": "United States", // digitalocean
|
|
|
- "UK": "United Kingdom", // aws
|
|
|
- "GB": "United Kingdom", // aws
|
|
|
- "AU": "Australia", // aws
|
|
|
- "CA": "Canada", // digitalocean
|
|
|
- "KR": "South Korea", // aws
|
|
|
- "SA": "Saudi Arabia", // 无
|
|
|
- "SG": "Singapore", // digitalocean
|
|
|
- "VN": "Vietnam", // 无
|
|
|
+ "BR": "Brazil", // aws
|
|
|
+ "DE": "Germany", // aws
|
|
|
+ "HK": "Hong Kong", // aws
|
|
|
+ "JP": "Japan", // aws
|
|
|
+ "US": "United States", // digitalocean
|
|
|
+ "UK": "United Kingdom", // aws
|
|
|
+ "GB": "United Kingdom", // aws
|
|
|
+ "AU": "Australia", // aws
|
|
|
+ "CA": "Canada", // digitalocean
|
|
|
+ "KR": "South Korea", // aws
|
|
|
+ "SA": "Saudi Arabia", // 无
|
|
|
+ "SG": "Singapore", // digitalocean
|
|
|
+ "VN": "Vietnam", // 无
|
|
|
+ "AE": "United Arab Emirates", // aws
|
|
|
+ "BH": "Bahrain", // aws
|
|
|
+ "FR": "France", // aws
|
|
|
+ "IN": "India", // digitalocean
|
|
|
+ "NL": "Netherlands", // digitalocean
|
|
|
}
|
|
|
|
|
|
countryLabel := fmt.Sprintf("%s", countryLabels[node.CountryCode])
|