hxp
2024-10-18 59c0f7a3818d8663f5fb4f7249f586d7a7d12eb6
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,
                  }