From 6b458bedb17a2b272e19bbd1ffab00ead6c6089d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 13 四月 2019 14:35:52 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(设置充值成功SendDBFinishRecharge时机提前,在收到通知即设置,异常信息通过CTGError记录)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py | 5 ++++-
1 files changed, 4 insertions(+), 1 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 082fe20..83afe91 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
@@ -175,6 +175,9 @@
orderInfo = chargeInfo.GetOrderInfo() # 商品编号
orderID = chargeInfo.GetOrderID() #订单号,兑换成功后清除
isAddBourseMoney = chargeInfo.GetIsAddBourseMoney()
+ if orderID:
+ curPlayer.SendDBFinishRecharge(orderID)
+
appID = chargeInfo.GetAppID()
if not appID:
appID = GameWorld.GetPlayerPlatform(curPlayer)
@@ -215,7 +218,7 @@
#充值成功主动查询一次,无充值数量就不会继续查询
if orderID:
- curPlayer.SendDBFinishRecharge(orderID)
+ #curPlayer.SendDBFinishRecharge(orderID)
# 充值成功回报客户端,SDK等会用到
Sync_CoinToGoldReport(curPlayer, orderID, orderCoin)
--
Gitblit v1.8.0