45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
|
using Newtonsoft.Json;
|
|||
|
using System;
|
|||
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
public class MotherFuck119 : MonoBehaviour
|
|||
|
{
|
|||
|
|
|||
|
public async Task<Directlist> directlistResult() // 1.19
|
|||
|
{
|
|||
|
// <><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> head119 = new Dictionary<string, string>
|
|||
|
{
|
|||
|
{ "Authorization", Global.global.serverResponse.data.token }
|
|||
|
};
|
|||
|
|
|||
|
|
|||
|
|
|||
|
// <20>첽<EFBFBD><ECB2BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
string response119 = await web.SendRequest(web.URL + "/snail/data/queryVoluteCoinUser", "GET", "{}", head119);
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD>Ӧ
|
|||
|
Debug.Log("1.19<EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD>ҳ<EFBFBD>Ͽǰ<EFBFBD> =====================" + response119);
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD>Ϊ KnightRoomList <20><><EFBFBD><EFBFBD>
|
|||
|
Directlist directlist = JsonConvert.DeserializeObject<Directlist>(response119);
|
|||
|
|
|||
|
// <20><><EFBFBD>鷴<EFBFBD><E9B7B4><EFBFBD>л<EFBFBD><D0BB>Ƿ<EFBFBD><C7B7>ɹ<EFBFBD>
|
|||
|
if (directlist != null && directlist.data != null)
|
|||
|
{
|
|||
|
|
|||
|
//Debug.Log("<22><>ȡ<EFBFBD>ɹ<EFBFBD>");
|
|||
|
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
Debug.LogError("directlist <20><><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>");
|
|||
|
}
|
|||
|
Debug.Log(directlist.data.UserResponseVoList.Count);
|
|||
|
return directlist;
|
|||
|
}
|
|||
|
}
|