fix:1、添加支付,使用sdk的支付方案

This commit is contained in:
2026-05-21 10:56:37 +08:00
parent d8b41f25ba
commit 8144a27fdb
34 changed files with 4555 additions and 3840 deletions
+15 -2
View File
@@ -1404,7 +1404,7 @@ namespace RedHotRoast
/// <returns>true:广告兑换 -- false:三方支付</returns>
public static bool IsAdModelOfPay()
{
return true;//zhushi
// return true;//zhushi
var isAd = GetLoginModel().Enwp != 1;
return isAd;
}
@@ -1750,7 +1750,20 @@ namespace RedHotRoast
}
#endregion
public static string getTrackEvenName()
{
string event_ = ADEventTrack.Event;
if (GetLoginModel().Enwp == 1)
{
int rate = GetCommonModel().PayRate;
if (!IsGiftSwitch() || GetCommonModel().PayRate == 100)
{
MaxPayManager.isIOSPay = true;
}
event_ = MaxPayManager.isIOSPay ? ADEventTrack.IOS_Pay_Event : ADEventTrack.MaxPayEvent;
}
return event_;
}
}
}