fix:1、添加H5

This commit is contained in:
barry
2026-05-25 09:45:16 +08:00
parent 8144a27fdb
commit 5f68fe42c1
276 changed files with 46771 additions and 27478 deletions
+15
View File
@@ -1,3 +1,4 @@
using DontConfuse;
using SGModule.NetKit;
namespace RedHotRoast
@@ -60,6 +61,20 @@ namespace RedHotRoast
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.PayloadingUI_Close);
MaxPayManager.Instance.PaySuccess();
}
var last_time = PlayerPrefs.GetInt("Dayreftimes", 0);
DateTime newDate = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1));
newDate = newDate.AddSeconds(GameHelper.GetNowTime(true));
// Debug.Log($"barry newdate==== {newDate}");
var newDays = newDate.Day;
if (last_time != newDays)
{
var configs = GameHelper.GetCommonModel();
// Debug.Log($"barry hall-----{configs != null}");
if (configs != null) {
WebviewManager.Instance.RefreshUrl();
}
}
}
private void OnGameStart(object obj)