💩 添加用户统计代码

This commit is contained in:
BookerLiu
2023-04-19 22:19:44 +08:00
parent 08424b0db0
commit 9485b801b6
4 changed files with 48 additions and 0 deletions

View File

@@ -50,6 +50,16 @@ namespace GeekDesk.MyThread
if (!StringUtil.IsEmpty(updateInfo))
{
JObject jo = JObject.Parse(updateInfo);
string statisticUrl = jo["statisticUrl"].ToString();
if (!string.IsNullOrEmpty(statisticUrl))
{
//用户统计 只通过uuid统计用户数量 不收集任何信息
statisticUrl += "?uuid=" + CommonCode.GetUniqueUUID();
HttpUtil.Get(statisticUrl);
}
string onlineVersion = jo["version"].ToString();
if (onlineVersion.CompareTo(nowVersion) > 0)
{