【m】框架大更新

This commit is contained in:
2025-10-31 11:18:23 +08:00
parent ae6e7c804b
commit 8e1d52ddbf
1883 changed files with 213934 additions and 640 deletions

View File

@@ -106,7 +106,7 @@ namespace Stary.Evo
{
using UnityWebRequest webRequest =
new UnityWebRequest($"{url}?token={authorization}", UnityWebRequest.kHttpVerbGET);
new UnityWebRequest($"{url}/{authorization}", UnityWebRequest.kHttpVerbGET);
//using UnityWebRequest webRequest = UnityWebRequest.Get($"{url}?token={authorization}");
webRequest.downloadHandler = new DownloadHandlerBuffer();
webRequest.timeout = 10;
@@ -393,7 +393,7 @@ namespace Stary.Evo
webRequest.disposeUploadHandlerOnDispose = true;
webRequest.disposeDownloadHandlerOnDispose = true;
webRequest.disposeCertificateHandlerOnDispose = true;
webRequest.timeout = 20;
webRequest.timeout = 30;
await webRequest.SendWebRequest();
webRequest.uploadHandler?.Dispose();
// 更新错误检查方式

View File

@@ -11,12 +11,25 @@ namespace Stary.Evo
public string Platform { get; set; }
public string DocumentFileId { get; set; }
}
public struct ResDmainUpdateRequst
{
public string ProductName { get; set; }
public string DomainName { get; set; }
public string Platform { get; set; }
public bool IsEnabled { get; set; }
}
public struct ResDmainRequst
{
public string ProductName { get; set; }
public string DomainName { get; set; }
public string Platform { get; set; }
}
public struct ResProductRequst
{
public string ProductName { get; set; }
public string Platform { get; set; }
}
}

View File

@@ -1,8 +1,5 @@
namespace Stary.Evo
{
public struct ResDmainVersionResponse
{
public string ProductName { get; set; }
@@ -16,6 +13,7 @@ namespace Stary.Evo
public string ProductName { get; set; }
public string DomainName { get; set; }
public string Platform { get; set; }
public bool IsEnable { get; set; }
public string PackageVersion { get; set; }
public string DocumentFileId { get; set; }
}