fix:1、删除部分不用的资源代码。2、a面修复bug
This commit is contained in:
@@ -12,7 +12,7 @@ using SGModule.Common.Extensions;
|
||||
using SGModule.Common.Helper;
|
||||
using FGUI.ZM_Lobby_03;
|
||||
using System.Net;
|
||||
using SGModule.ApplePay;
|
||||
// using SGModule.ApplePay;
|
||||
using SGModule.Net;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
@@ -406,7 +406,7 @@ namespace RedHotRoast
|
||||
}
|
||||
}
|
||||
}
|
||||
checkThreeGift();
|
||||
// checkThreeGift();
|
||||
var head = ui.btn_head as btn_head;
|
||||
if (head != null)
|
||||
{
|
||||
@@ -594,22 +594,22 @@ namespace RedHotRoast
|
||||
ui.btn_task.SetClick(() => { OnClickTask(false); });
|
||||
ui.btn_restore.SetClick(() =>
|
||||
{
|
||||
ApplePayManager.Instance.AppleRestore((success, message) =>
|
||||
{
|
||||
Debug.Log($"[barry] restore success message: {message}---- {JsonConvert.SerializeObject(message)}");
|
||||
if (success)
|
||||
{
|
||||
Debug.Log("[barry] restore success: " + success);
|
||||
GameHelper.ShowTips("Restore_pur", true);
|
||||
SaveData.GetSaveObject().have_slot = success;
|
||||
DataMgr.VipLevel.Value = 3;
|
||||
DataMgr.VipExpirationTime.Value = ServerClock.GetCurrentServerTime() + 7 * 24 * 60 * 60;
|
||||
}
|
||||
else
|
||||
{
|
||||
GameHelper.ShowTips("recoverable_tips", true);
|
||||
}
|
||||
});
|
||||
// ApplePayManager.Instance.AppleRestore((success, message) =>
|
||||
// {
|
||||
// Debug.Log($"[barry] restore success message: {message}---- {JsonConvert.SerializeObject(message)}");
|
||||
// if (success)
|
||||
// {
|
||||
// Debug.Log("[barry] restore success: " + success);
|
||||
// GameHelper.ShowTips("Restore_pur", true);
|
||||
// SaveData.GetSaveObject().have_slot = success;
|
||||
// DataMgr.VipLevel.Value = 3;
|
||||
// DataMgr.VipExpirationTime.Value = ServerClock.GetCurrentServerTime() + 7 * 24 * 60 * 60;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// GameHelper.ShowTips("recoverable_tips", true);
|
||||
// }
|
||||
// });
|
||||
});
|
||||
|
||||
Debug.Log(JsonConvert.SerializeObject(ConfigSystem.GetConfig<ApplePay>()));
|
||||
|
||||
Reference in New Issue
Block a user