This commit is contained in:
2025-08-13 17:54:09 +08:00
parent 0f801c92c8
commit 3505d83ebd
2 changed files with 8 additions and 4 deletions

View File

@@ -270,7 +270,11 @@ namespace Stary.Evo
try
{
#if UNITY_2021_3_OR_NEWER
using (UnityWebRequest webRequest = UnityWebRequest.Post(url, postData)) //第二种写法此行注释
#else
using (UnityWebRequest webRequest = UnityWebRequest.PostWwwForm(url, postData)) //第二种写法此行注释
#endif
{
byte[] postBytes = System.Text.Encoding.UTF8.GetBytes(postData);
webRequest.uploadHandler = new UploadHandlerRaw(postBytes);

View File

@@ -1,6 +1,6 @@
{
"name": "com.staryevo.main",
"version": "1.3.31",
"version": "1.3.32",
"displayName": "00.StaryEvo",
"description": "This is an Framework package(后台服务器版本端口9527)",
"unity": "2021.3",