6459 【后端】【2.0】缥缈仙域开发单(设置充值成功SendDBFinishRecharge时机提前,在收到通知即设置,异常信息通过CTGError记录)
1个文件已修改
5 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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)