From 388823edfe6308cba6f76ca6dc4f20022c5cb2be Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 30 六月 2025 19:03:50 +0800
Subject: [PATCH] 10431 【英文】看广告获得限时代金券

---
 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 a634f1d..3242327 100644
--- a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/ProjSpecialProcess.py
+++ b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/ProjSpecialProcess.py
@@ -251,7 +251,7 @@
     # 个人补偿GM工具
     # 由于GameServer处理多个玩家补偿同一物品时只收一次命令包处理(只插入一条物品数据)
     # 故此处先查出多个玩家账号/昵称对应的playerID,更改命令字典信息后,压入包,再推给GameServer
-    if gmCmdManger.funcName == "GMT_AddPersonalCompensation":
+    if gmCmdManger.funcName in ["GMT_AddPersonalCompensation", "GMT_CompensationQueryPersonal"]:
         gmCmdDict = gmCmdManger.gmCmdDict
         playerList = gmCmdDict.get("playerList", '')
         playerList = playerList.split(",")
@@ -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