漏上传,补充

This commit is contained in:
YiHan0621
2025-09-08 16:27:21 +08:00
parent 3467536386
commit 29ba23403b
6 changed files with 90 additions and 53 deletions

View File

@@ -136,7 +136,8 @@ namespace TcgEngine.Gameplay
// 从服务器API获取任务配置
string url = ApiClient.ServerURL + "/api/tasks";
WebResponse res = await ApiClient.Get().SendGetRequest(url);
Debug.LogError("从服务器API获取任务配置" + res.data);
Debug.LogError("从服务器API获取任务配置" + res.data + res.status);
Debug.LogError(res.success);
if (res.success)
{
// 解析任务配置数据