Ben 8 ماه پیش
والد
کامیت
b23c16e1c6
31فایلهای تغییر یافته به همراه53 افزوده شده و 44 حذف شده
  1. 53 44
      internal/server/server.go
  2. BIN
      static/AE.png
  3. BIN
      static/AU.png
  4. BIN
      static/BH.png
  5. BIN
      static/BR.jpg
  6. BIN
      static/BR.png
  7. BIN
      static/CA.png
  8. BIN
      static/CH.png
  9. BIN
      static/DE.jpg
  10. BIN
      static/DE.png
  11. BIN
      static/ES.png
  12. BIN
      static/FR.png
  13. BIN
      static/GB.png
  14. BIN
      static/HK.jpg
  15. BIN
      static/HK.png
  16. BIN
      static/ID.png
  17. BIN
      static/IL.png
  18. BIN
      static/IN.png
  19. BIN
      static/IT.png
  20. BIN
      static/JP.jpg
  21. BIN
      static/JP.png
  22. BIN
      static/KR.png
  23. BIN
      static/NL.png
  24. BIN
      static/SA.png
  25. BIN
      static/SE.png
  26. BIN
      static/SG.png
  27. BIN
      static/UK.jpg
  28. BIN
      static/US.jpg
  29. BIN
      static/US.png
  30. BIN
      static/VN.png
  31. BIN
      static/ZA.png

+ 53 - 44
internal/server/server.go

@@ -254,64 +254,73 @@ func convert2DtoNode(node *model.Node, seq int) *dto.Node {
 		return nil
 		return nil
 	}
 	}
 	icons := map[string]string{
 	icons := map[string]string{
-		"BR": "http://v.starttransfernow.com/static/BR.jpg",
-		"DE": "http://v.starttransfernow.com/static/DE.jpg",
-		"HK": "http://v.starttransfernow.com/static/HK.jpg",
-		"JP": "http://v.starttransfernow.com/static/JP.jpg",
-		"US": "http://v.starttransfernow.com/static/US.jpg",
-		"UK": "http://v.starttransfernow.com/static/UK.jpg",
-		"GB": "http://v.starttransfernow.com/static/UK.jpg",
-		"AU": "http://v.starttransfernow.com/static/AU.png",
-		"CA": "http://v.starttransfernow.com/static/CA.png",
-		"KR": "http://v.starttransfernow.com/static/KR.png",
-		"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",
 		"AE": "http://v.starttransfernow.com/static/AE.png",
+		"AU": "http://v.starttransfernow.com/static/AU.png",
 		"BH": "http://v.starttransfernow.com/static/BH.png",
 		"BH": "http://v.starttransfernow.com/static/BH.png",
+		"BR": "http://v.starttransfernow.com/static/BR.png",
+		"CA": "http://v.starttransfernow.com/static/CA.png",
+		"CH": "http://v.starttransfernow.com/static/CH.png",
+		"DE": "http://v.starttransfernow.com/static/DE.png",
+		"ES": "http://v.starttransfernow.com/static/ES.png",
 		"FR": "http://v.starttransfernow.com/static/FR.png",
 		"FR": "http://v.starttransfernow.com/static/FR.png",
+		"GB": "http://v.starttransfernow.com/static/GB.png",
+		"HK": "http://v.starttransfernow.com/static/HK.png",
+		"ID": "http://v.starttransfernow.com/static/ID.png",
+		"IL": "http://v.starttransfernow.com/static/IL.png",
 		"IN": "http://v.starttransfernow.com/static/IN.png",
 		"IN": "http://v.starttransfernow.com/static/IN.png",
-		"NL": "http://v.starttransfernow.com/static/NL.png",
+		"IT": "http://v.starttransfernow.com/static/IT.png",
+		"JP": "http://v.starttransfernow.com/static/JP.png",
+		"KR": "http://v.starttransfernow.com/static/KR.png",
+		"SE": "http://v.starttransfernow.com/static/SE.png",
+		"SG": "http://v.starttransfernow.com/static/SG.png",
+		"US": "http://v.starttransfernow.com/static/US.png",
+		"ZA": "http://v.starttransfernow.com/static/ZA.png",
 	}
 	}
 	countryLabels := map[string]string{
 	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",              // 无
-		"AE": "United Arab Emirates", // aws
-		"BH": "Bahrain",              // aws
-		"FR": "France",               // aws
-		"IN": "India",                //  digitalocean
-		"NL": "Netherlands",          //  digitalocean
+		"AE": "United Arab Emirates",
+		"AU": "Australia",
+		"BH": "Bahrain",
+		"BR": "Brazil",
+		"CA": "Canada",
+		"CH": "Switzerland",
+		"DE": "Germany",
+		"ES": "Spain",
+		"FR": "France",
+		"GB": "United Kingdom",
+		"HK": "Hong Kong",
+		"ID": "Indonesia",
+		"IL": "Israel",
+		"IN": "India",
+		"IT": "Italy",
+		"JP": "Japan",
+		"KR": "South Korea",
+		"SE": "Sweden",
+		"SG": "Singapore",
+		"US": "United States",
+		"ZA": "South Africa",
 	}
 	}
 	countryContinents := map[string]string{
 	countryContinents := map[string]string{
+		"AE": "asia",
+		"AU": "oce",
+		"BH": "asia",
 		"BR": "southam",
 		"BR": "southam",
+		"CA": "northam",
+		"CH": "eu",
 		"DE": "eu",
 		"DE": "eu",
+		"ES": "eu",
+		"FR": "eu",
+		"GB": "eu",
 		"HK": "asia",
 		"HK": "asia",
+		"ID": "asia",
+		"IL": "asia",
+		"IN": "asia",
+		"IT": "eu",
 		"JP": "asia",
 		"JP": "asia",
-		"US": "northam",
-		"UK": "eu",
-		"GB": "eu",
-		"AU": "oce",
-		"CA": "northam",
 		"KR": "asia",
 		"KR": "asia",
-		"SA": "asia",
+		"SE": "eu",
 		"SG": "asia",
 		"SG": "asia",
-		"VN": "asia",
-		"AE": "asia",
-		"BH": "asia",
-		"FR": "eu",
-		"IN": "asia",
-		"NL": "eu",
+		"US": "northam",
+		"ZA": "southam",
 	}
 	}
 
 
 	countryLabel := fmt.Sprintf("%s", countryLabels[node.CountryCode])
 	countryLabel := fmt.Sprintf("%s", countryLabels[node.CountryCode])

BIN
static/AE.png


BIN
static/AU.png


BIN
static/BH.png


BIN
static/BR.jpg


BIN
static/BR.png


BIN
static/CA.png


BIN
static/CH.png


BIN
static/DE.jpg


BIN
static/DE.png


BIN
static/ES.png


BIN
static/FR.png


BIN
static/GB.png


BIN
static/HK.jpg


BIN
static/HK.png


BIN
static/ID.png


BIN
static/IL.png


BIN
static/IN.png


BIN
static/IT.png


BIN
static/JP.jpg


BIN
static/JP.png


BIN
static/KR.png


BIN
static/NL.png


BIN
static/SA.png


BIN
static/SE.png


BIN
static/SG.png


BIN
static/UK.jpg


BIN
static/US.jpg


BIN
static/US.png


BIN
static/VN.png


BIN
static/ZA.png