10284 【后台】 仙宝奇缘新版本-倒贴版本(累充活动支持区分代币支付)
2个文件已修改
7 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -6264,7 +6264,7 @@
CoinType_Buy, # 直购,非直接充仙玉的,如RMB直接购买某个物品或激活某个功能 1
CoinType_ItemSuper, # 使用超级现金卡物品,类充值仙玉效果,但是有某些功能上的限制,一般是bt版本赠送 2
CoinType_ItemCash, # 使用现金卡物品,类充值仙玉效果,但是有某些功能上的限制,一般是bt版本赠送 3
CoinType_4,
CoinType_UsePayCoin, # 使用代币充值商品,类充值效果,但是有某些功能上的限制 4
CoinType_5,
CoinType_ExchangePayCoin, # 代表转换 6
CoinType_PayCoin, # 代币充值 7
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
@@ -83,7 +83,7 @@
PayOrderType_PayCoin, # 代币 6
) = range(1, 1 + 6)
PayOrderType_Default = PayOrderType_VND
PayOrderType_Default = PayOrderType_RMB
# 充值类型定义
PayType_Gold = 2  # 常规仙玉充值
@@ -689,7 +689,8 @@
    isRealMoney = True if addDRDict.get("orderID") else False # 是否真实货币充值,仅真实货币充值订单有orderID,后台充值的不算真实货币充值
    payOrderType = addDRDict.get("payOrderType", PayOrderType_Default)
    if payOrderType == PayOrderType_PayCoin:
        isRealMoney = True # 代币充值在游戏内容上算真实充值
        #isRealMoney = True # 代币充值在游戏内容上算真实充值,tqxbqy暂不算,代币来源可能是赠送的,故暂不算
        coinType = ChConfig.CoinType_UsePayCoin # tqxbqy需要区分代币支付
    ctgRealToday = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CTGRealToday) # 当日真实货币充值Coin数 ,不含后台充值- 今日
    ctgRealTotal = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CTGRealTotal) # 累计真实货币充值Coin数 ,不包后台充值 - 总计
    ctgRealFirstTime = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CTGRealFirstTime) # 首次真实货币充值时间戳