lt 11 місяців тому
батько
коміт
55ed5a5d20

+ 3 - 0
RO_Server_Trunk-branch_0.1.39/roweb/serverlist/model/serverlist.go

@@ -594,6 +594,9 @@ func GetServerDownLoad(c *gin.Context) {
 		if platform == "PC" {
 			url = serviceConfig.DownLoadUrl.IpUrl
 		}
+		if platform == "IOS" {
+			url = serviceConfig.DownLoadUrl.IosUrl
+		}
 		c.JSON(http.StatusOK, url)
 	} else {
 		c.JSON(http.StatusOK, gin.H{

+ 1 - 0
RO_Server_Trunk-branch_0.1.39/roweb/serverlist/model/yamlconfig.go

@@ -39,6 +39,7 @@ type ServerListNode struct {
 
 type Url struct {
 	IpUrl  string `yaml:"ipUrl"`
+	IosUrl string `yaml:"iosUrl"`
 	CdnUrl string `yaml:"cdnUrl"`
 }