From 58d7bb012ddfd2003cf5f806f9cce8639d4a2c91 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 27 十一月 2024 12:29:43 +0800 Subject: [PATCH] 10287 【英文】1折活动(orderCoin直接使用实际支付coin) --- ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_PlayerItemInfo.py | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_PlayerItemInfo.py b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_PlayerItemInfo.py index e2f6074..5b5a96d 100644 --- a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_PlayerItemInfo.py +++ b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_PlayerItemInfo.py @@ -126,11 +126,12 @@ itemList.append(_GetItemInfo(itemDict)) - resultMsg = {"PackIndex":packIndex, "ItemList":itemList} + totalItemCount = len(itemList) + resultMsg = {"PackIndex":packIndex, "TotalItemCount":totalItemCount, "ItemList":itemList} # 不大与word - if len(resultMsg) > pow(2, 14): + if len(str(resultMsg)) > 65000: return GMCommon.Def_MaxLimit, '' - + # 回复查询信息 return GMCommon.Def_Success, resultMsg @@ -161,7 +162,7 @@ for k, v in itemDict.items(): if k in ["UserDataLen", "ItemPlaceType", "PlayerID", "IsLocked", "SID", "VerNO"]: continue - if not v: + if not v or v == "{}": continue curItemInfo[k] = v -- Gitblit v1.8.0