From e7e5379a24dbe6dda82996b778a195f158d39b7d Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 29 十月 2024 12:05:55 +0800 Subject: [PATCH] 10284 【后台】 仙宝奇缘新版本-倒贴版本(累充活动支持区分代币支付) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py | 5 +++-- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py index bde850f..9876879 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py +++ b/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 diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py index 355177a..c12ae4f 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py +++ b/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) # 首次真实货币充值时间戳 -- Gitblit v1.8.0