diff --git a/lua/app/common/pay_manager.lua b/lua/app/common/pay_manager.lua index d4625774..572a6baf 100644 --- a/lua/app/common/pay_manager.lua +++ b/lua/app/common/pay_manager.lua @@ -136,12 +136,17 @@ end function PayManager:requestRewards(purchaseToken, orderId, originOrderId, notShowRewardsBox) self:sendMsgToServer(purchaseToken, orderId, function(binder, msgData) if msgData.status == 0 then - if msgData.rewards and table.nums(msgData.rewards) > 0 then - local showRewards = not notShowRewardsBox - if DataManager.TutorialData and DataManager.TutorialData:getIsInTutorial() then -- 引导时不弹 - showRewards = false - end - if showRewards then + local showRewards = not notShowRewardsBox + if DataManager.TutorialData and DataManager.TutorialData:getIsInTutorial() then -- 引导时不弹 + showRewards = false + end + + if showRewards then + -- if not ModuleManager.AccountManager:getIsBinded() then -- 没绑定账户信息,提示去绑定 + -- -- body + -- end + + if msgData.rewards and table.nums(msgData.rewards) > 0 then GFunc.showRewardBox(msgData.rewards) end end