From 92c1f0e4b8f19a97aefc7f4040aef905725646af Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 26 十一月 2025 18:48:29 +0800
Subject: [PATCH] 0312 增加非debug 允许内网不验证登录
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/DBCommon/CommonDefine.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/DBCommon/CommonDefine.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/DBCommon/CommonDefine.py
index c825b35..e719b95 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/DBCommon/CommonDefine.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/DBCommon/CommonDefine.py
@@ -23,6 +23,9 @@
isDebugVersion = os.path.exists("BBF84B34-357E-435B-B3FF-D60370AAA6ED")
return isDebugVersion
+# 内网服登录不用验证
+def IsInsideLogin():
+ return os.path.exists(os.getcwd() + "\\ServerConfig\\dontchecklogin")
DATASAVE_MARK = 0xFF88
--
Gitblit v1.8.0