From 8b4c8fa8a2e3d00c231ac6d2c08bcb0a735d52f2 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 13 三月 2026 17:30:57 +0800
Subject: [PATCH] 16 卡牌服务端(同步中心数据增加ClientVersion信息;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py
index 8c47919..ea44e08 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py
@@ -3186,7 +3186,7 @@
game_sign = "ryzj"
game_id = 9134
curTime = int(time())
- sign = md5.md5("%s%s%s%s%s%s" % (userID, game_id, game_sign, token, time, loginkey)).hexdigest()
+ sign = md5.md5("%s%s%s%s%s%s" % (userID, game_id, game_sign, token, curTime, loginkey)).hexdigest()
values = {'userID' : userID,
'game_sign' : game_sign,
'game_id' : game_id,
@@ -3203,7 +3203,7 @@
# 返回结果:(JSON格式): { state: 1 //(登录认证成功);其他失败 }
retDict = eval(the_page)
if retDict.get("state") != 1:
- mylog.debug('checktoken fail: req:%s, ret:%s'%(values, the_page))
+ mylog.debug('checktoken fail: loginkey=%s, req:%s, ret:%s'%(loginkey, values, the_page))
self.sendLoginFail(CommonDefine.dgPlayerLogin, authPack, disPswCheckError)
return True
except:
--
Gitblit v1.8.0