From 4bc77e3c629f8fa7b40629d2822a14fd8e5d7e90 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 19 一月 2021 20:01:11 +0800
Subject: [PATCH] 8701 【主干】【后端】活动相关的充值界面显示优化(永久累充、每日礼包、限时礼包、累计充值);

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDailyGiftbag.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDailyGiftbag.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDailyGiftbag.py
index 1a81ade..e5c0d30 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDailyGiftbag.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDailyGiftbag.py
@@ -27,6 +27,7 @@
 import ItemCommon
 import GameWorld
 import ChConfig
+import CommFunc
 
 def OnPlayerLogin(curPlayer):
     __CheckPlayerDailyGiftbagAction(curPlayer)
@@ -207,7 +208,7 @@
         giftBag.OrderInfo = "" if not orderIpyData else orderIpyData.GetOrderInfo()
         giftBag.OrderInfoLen = len(giftBag.OrderInfo)
         giftBag.BuyCountLimit = giftIpyData.GetBuyCountLimit()
-        giftBag.RMB = 0 if not orderIpyData else int(orderIpyData.GetPayRMBNum())
+        giftBag.RMB = 0 if not orderIpyData else CommFunc.RMBToCoin(orderIpyData.GetPayRMBNum())
         giftBag.ItemInfo = []
         for itemID, itemCount, isBind in __GetJobItemList(giftIpyData.GetGiftItemList(), curPlayer.GetJob()):
             item = ChPyNetSendPack.tagMCDailyGiftbagItem()

--
Gitblit v1.8.0