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 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

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