|
@@ -4,6 +4,7 @@ using System.Collections.Generic;
|
|
|
using System.IO;
|
|
|
using System.Net;
|
|
|
using System.Net.Http;
|
|
|
+using System.Threading.Tasks;
|
|
|
using ET;
|
|
|
using FairyGUI;
|
|
|
using UnityEngine;
|
|
@@ -38,7 +39,7 @@ namespace GFGGame
|
|
|
}
|
|
|
|
|
|
//将图片上传到华为云
|
|
|
- public static async ETTask<bool> PushToHWCloud(string signUrl, byte[] buffer)
|
|
|
+ public static async Task<bool> PushToHWCloud(string signUrl, byte[] buffer)
|
|
|
{
|
|
|
|
|
|
HttpContent content = new ByteArrayContent(buffer);
|