_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/Union16/UnionDetail17.cs

30 lines
1008 B
C#
Raw Normal View History

2024-11-25 22:57:46 +08:00
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
//1.7<EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2024-12-02 15:35:46 +08:00
public class UnionDetail17 : Base
2024-11-25 22:57:46 +08:00
{
// UnionDetail unionDetail = new UnionDetail();
2024-12-05 16:59:31 +08:00
public async Task<UnionDetalResponse> queryUnionDetail(int id) // 1.7
2024-11-25 22:57:46 +08:00
{
// ׼<><D7BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>
Dictionary<string, string> head17 = new Dictionary<string, string>
{
{ "Authorization", Global.global.serverResponse.data.token }
};
2024-11-25 22:57:46 +08:00
// <20><EFBFBD><ECB2BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2024-12-05 16:59:31 +08:00
string response17 = await web.SendRequest(web.URL + "/snail/union/queryInfo?unionId="+id.ToString(), "GET","{}", head17);
2024-11-25 22:57:46 +08:00
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD>Ӧ
Debug.Log("1.7<EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>========================================" + response17);
// <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>
UnionDetalResponse unionDetailResponse = JsonConvert.DeserializeObject<UnionDetalResponse>(response17);
return unionDetailResponse;
}
}