37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
|
using Newtonsoft.Json;
|
|||
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using UnityEngine;
|
|||
|
//<2F><>ѯ<EFBFBD><D1AF><EFBFBD>ŷ<EFBFBD>ҳ
|
|||
|
public class GoodIdPage41 : MonoBehaviour
|
|||
|
{
|
|||
|
public async Task<GoodIdResponse> queryUnionPage() // 4.1
|
|||
|
{
|
|||
|
// <><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> head41 = new Dictionary<string, string>
|
|||
|
{
|
|||
|
{ "Authorization", Global.global.serverResponse.data.token }
|
|||
|
};
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
GoodIdPageBody goodIdPageBody = new GoodIdPageBody
|
|||
|
{
|
|||
|
//userId = Global.global.serverResponse.data.userId,
|
|||
|
orderByDesc = 1
|
|||
|
};
|
|||
|
|
|||
|
// <20>첽<EFBFBD><ECB2BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
string response41 = await web.SendRequest(web.URL + "/snail/cutePool/page", "POST", JsonUtility.ToJson(goodIdPageBody), head41);
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD>Ӧ
|
|||
|
Debug.Log("4.1<EFBFBD><EFBFBD>ѯ<EFBFBD><EFBFBD><EFBFBD>ŷ<EFBFBD>ҳ" + response41);
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>
|
|||
|
GoodIdResponse goodIdResponse = JsonConvert.DeserializeObject<GoodIdResponse>(response41);
|
|||
|
Debug.Log("8==================================D"+goodIdResponse.Data.TotalCount);
|
|||
|
return goodIdResponse;
|
|||
|
|
|||
|
}
|
|||
|
}
|