From 048504db4fc14ef9c8d827b8295c0cf10060d918 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 30 七月 2024 14:33:37 +0800
Subject: [PATCH] 1111 【越南】【港台】【主干】【砍树】后台查看玩家增加显示客户端版本号;

---
 ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py
index bebcd0a..36aecad 100644
--- a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py
+++ b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py
@@ -90,6 +90,10 @@
     if data == '%s'%GMCommon.Def_GMKey_PlayerName:        
         return GMCommon.Def_DoQueryLogDB, playerAccID
 
+    accountData = DataServerPlayerData.tagDSAccount()
+    accountData.ACCID = playerAccID
+    accountData.adoLoad(userdb[UCN_DSAccount])
+    
     collection = userdb[UCN_DBPlayer]   
     dbPlayer = DataServerPlayerData.tagDBPlayer()
     dbPlayer.IsDeleted = 0
@@ -143,6 +147,7 @@
                   'LogoffTime':dbPlayer.LogoffTime, #离线时间
                   'LoginTime':dbPlayer.LoginTime,  # 上线时间
                   'LoginIP':dbPlayer.LoginIP,  #登入IP
+                  'ClientVersion':accountData.ClientVersion,  #客户端版本号
                   
                   'Online':0,
                   }

--
Gitblit v1.8.0