32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
|
using Newtonsoft.Json;
|
|||
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using UnityEngine;
|
|||
|
//10.8<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳˢ<EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD>ֵ
|
|||
|
public class queryUserVoluteCoin108 : MonoBehaviour
|
|||
|
{
|
|||
|
public async Task<QueryUserVoluteCoinResponse> QueryUserVoluteCoin()
|
|||
|
{
|
|||
|
// <><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> head = new Dictionary<string, string>
|
|||
|
{
|
|||
|
{ "Authorization", Global.global.serverResponse.data.token }
|
|||
|
};
|
|||
|
|
|||
|
// <20>첽<EFBFBD><ECB2BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
string response0108 = await web.SendRequest(web.URL + "/snail/mining/queryUserVoluteCoin", "POST","{}", head);
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD>Ӧ
|
|||
|
Debug.Log("10.8<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳˢ<EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD>ֵ" + response0108);
|
|||
|
|
|||
|
QueryUserVoluteCoinResponse queryUserVoluteCoinResponse = JsonConvert.DeserializeObject<QueryUserVoluteCoinResponse>(response0108);
|
|||
|
return queryUserVoluteCoinResponse;
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
//============<3D><><EFBFBD><EFBFBD>ֵ======================================
|
|||
|
public class QueryUserVoluteCoinResponse:Response
|
|||
|
{
|
|||
|
public double data;
|
|||
|
}
|