From cf15819d21dce2b5772a40e9a79b30334e863fbf Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 15 十二月 2020 10:01:31 +0800
Subject: [PATCH] 4882 【BT】充值仙玉返利邮件多发(地图玩家的GetGameServerInitOK为True时才能发送邮件到GameServer);

---
 ServerPython/db/PyMongoDataServer/GMToolLogicProcess/ProjSpecialProcess.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/ProjSpecialProcess.py b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/ProjSpecialProcess.py
index 2959052..416ce9c 100644
--- a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/ProjSpecialProcess.py
+++ b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/ProjSpecialProcess.py
@@ -97,7 +97,7 @@
     funcName = ''
     try:
         # 获得gm命令信息
-        gmCmdDict = json.loads(cmd)          
+        gmCmdDict = eval(cmd)          
         funcName = gmCmdDict.get(GMCommon.Def_GMKey_Type, '')  
 
         if funcName == None:                        
@@ -261,6 +261,10 @@
     
         playerIDList = []
         queryType = gmCmdDict.get(GMCommon.Def_GMKey_QueryType, '')
+        if queryType == GMCommon.Def_GMKey_FamilyID:
+            # 根据家族ID的不处理,直接推
+            return GMCommon.Def_SendToGameServer, ""
+        
         playerFind = gmCmdDict.get(GMCommon.Def_GMKey_PlayerFind, '')
         
         for playerFind in playerList:

--
Gitblit v1.8.0