From 7b90cde5f40489da145a24dd30dc44c5e784c08e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 26 十一月 2025 20:34:19 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_ServerCode

---
 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