From f5a8e282eee3dc19498ca2704e97b8de9cc7d828 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 28 六月 2019 11:32:00 +0800
Subject: [PATCH] 7595 仙宝奇缘项目版本校验地址加入game参数

---
 System/ClientVersion/VersionUtility.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/System/ClientVersion/VersionUtility.cs b/System/ClientVersion/VersionUtility.cs
index ccdb057..c571e3b 100644
--- a/System/ClientVersion/VersionUtility.cs
+++ b/System/ClientVersion/VersionUtility.cs
@@ -62,7 +62,14 @@
             tables["branch"] = VersionConfig.Get().branch.ToString();
         }
 
-        tables["game"] = VersionConfig.Get().gameId;
+        if (string.IsNullOrEmpty(VersionConfig.Get().gameId))
+        {
+            tables["game"] = "xbqy";
+        }
+        else
+        {
+            tables["game"] = VersionConfig.Get().gameId;
+        }
 
         var url = StringUtility.Contact(VERSION_URL[urlIndex % 2], HttpRequest.HashtablaToString(tables));
         urlIndex++;

--
Gitblit v1.8.0