ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py
@@ -25,6 +25,7 @@
import GameWorld
import PlayerCoin
import PlayerControl
import IpyGameDataPY
import ShareDefine
import ChConfig
@@ -39,8 +40,13 @@
        GameWorld.DebugAnswer(curPlayer, "CTG 商品编号 appID 是否增加集市购买额度")
        return
    
    ctgValue = msgList[0]
    if ctgValue.isdigit():
    ctgValue = str(msgList[0])
    orderInfoIpyData = None
    if len(msgList) > 1:
        value2 = str(msgList[1])
        orderInfoIpyData = IpyGameDataPY.GetIpyGameDataNotLog("OrderInfo", ctgValue, value2)
    if not orderInfoIpyData and ctgValue.isdigit():
        orderRMB = int(ctgValue)
        isAddBourseMoney = msgList[1] if len(msgList) > 1 else 1
        PlayerCoin.PlayerCoinToGoldEx(curPlayer, orderRMB, ChConfig.Def_GiveMoney_CTG, isAddBourseMoney)