update:当前支付成功

This commit is contained in:
2026-01-29 18:02:40 +08:00
parent 9f1379c465
commit b3869d3488
4 changed files with 41 additions and 24 deletions

View File

@@ -161,6 +161,7 @@ namespace tysdk
var userId = (int)ulong.Parse(deviceId, System.Globalization.NumberStyles.HexNumber);
Debug.Log($"userId -> {userId}");
_accountInfo = new AccountInfo()
{
userId = userId,
@@ -173,7 +174,7 @@ namespace tysdk
};
#elif UNITY_ANDROID || UNITY_IOS
var task = TYSDKCallbackManager.Instance.RegisterCallback<LoginInfo>(TimeSpan.FromSeconds(30));
var task = TYSDKCallbackManager.Instance.RegisterCallback<LoginInfo>(TimeSpan.FromSeconds(120));
UnityBridgeFunc.UnityLogin(accoutType);
@@ -435,6 +436,8 @@ namespace tysdk
#if UNITY_ANDROID
string clientid = "Android_5.00_tyGuest,facebook.googleplay.0-hall20587.googleplay.FishingMaster";
clientid = "Android_5.00_tyGuest,facebook.googleplay.0-hall20587.rustore.FishingTravel";
#elif UNITY_IOS
string clientid = "IOS_5.00_tyGuest,facebook,appStore.appStore.0-hall20587.appStore.FishingMaster";
#endif