From 8bfa5768bc81e3d8a3838527b22170b3fe95460e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 26 七月 2019 21:16:57 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode

---
 ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py
index 9ee45eb..156cd8a 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py
@@ -71,6 +71,7 @@
     goldPaper = int(gmCmdDict.get('GoldPaper', '0'))
     silver = int(gmCmdDict.get('Silver', '0')) 
     sender = gmCmdDict.get('Sender', ChConfig.Def_Mail_SenderSys)
+    detail = gmCmdDict.get('Detail', "")
     
     #工具发过来的物品下标依据 'index,index,...'  不一定是从0开始并按顺序连续 =_=#
     intemIndexStrList = []
@@ -91,7 +92,7 @@
     #    return
     PlayerCompensation.AddPersonalItem(GUID, addItemDictList, PlayerIDList, 
                                        LimitTime, "%s<$_$>%s<$_$>%s"%(sender, Title, Text),
-                                       gold, goldPaper, silver)
+                                       gold, goldPaper, silver, detail=detail)
     
     #执行成功
     GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_Success)  
@@ -108,7 +109,7 @@
     addItemDict['Count'] = GameWorld.ToIntDef(gmCmdDict.get('ItemCnt%s'%itemIndexStr, '0'))
     if addItemDict['Count'] == 0:
         return {}
-    addItemDict['IsBind'] = GameWorld.ToIntDef(gmCmdDict.get('IsBind%s'%itemIndexStr, '0'))
+    addItemDict['IsAuctionItem'] = GameWorld.ToIntDef(gmCmdDict.get('IsBind%s'%itemIndexStr, '0'))
     #添加UserData信息
     addItemDict['UserData'] = ''
     UserDataDict = {}

--
Gitblit v1.8.0