fix:1、添加支付,使用sdk的支付方案
This commit is contained in:
@@ -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_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user