85 lines
3.8 KiB
C#
85 lines
3.8 KiB
C#
|
using Newtonsoft.Json;
|
|||
|
using System;
|
|||
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using UnityEngine;
|
|||
|
//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public class queryInviteHigherInfo61 : MonoBehaviour
|
|||
|
{
|
|||
|
public InviteHigherInfo inviteHigherInfo;
|
|||
|
|
|||
|
public async Task<InviteHigherInfo> queryInviteHigherInfo()
|
|||
|
{
|
|||
|
Dictionary<string, string> head61 = new Dictionary<string, string>
|
|||
|
{
|
|||
|
{ "Authorization", Global.global.serverResponse.data.token }
|
|||
|
};
|
|||
|
|
|||
|
// <20>첽<EFBFBD><ECB2BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
string response61 = await web.SendRequest(web.URL + "/snail/invite/queryInviteHigherInfo", "POST", "{}", head61);
|
|||
|
Debug.Log("6.1<EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:=============== " + response61);
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
inviteHigherInfo = JsonConvert.DeserializeObject<InviteHigherInfo>(response61);
|
|||
|
//if (inviteHigherInfo != null && inviteHigherInfo.data != null)
|
|||
|
//{
|
|||
|
// // <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD>
|
|||
|
// int userId = inviteHigherInfo.data.userId;
|
|||
|
// string userName = inviteHigherInfo.data.userName;
|
|||
|
// string token = inviteHigherInfo.data.token;
|
|||
|
// string nickName = inviteHigherInfo.data.nickName;
|
|||
|
// string headImg = inviteHigherInfo.data.headImg;
|
|||
|
// int gender = inviteHigherInfo.data.gender;
|
|||
|
// string birthday = inviteHigherInfo.data.birthday;
|
|||
|
// string voluteCoin = inviteHigherInfo.data.voluteCoin;
|
|||
|
// string beansCoin = inviteHigherInfo.data.beansCoin;
|
|||
|
// string ichorCoin = inviteHigherInfo.data.ichorCoin;
|
|||
|
// string idCard = inviteHigherInfo.data.idCard;
|
|||
|
// string bank = inviteHigherInfo.data.bank;
|
|||
|
// string realName = inviteHigherInfo.data.realName;
|
|||
|
// bool? isCert = inviteHigherInfo.data.isCert;
|
|||
|
// string inviteCodeMy = inviteHigherInfo.data.inviteCodeMy;
|
|||
|
// string inviteCodeBind = inviteHigherInfo.data.inviteCodeBind;
|
|||
|
// string bindTime = inviteHigherInfo.data.bindTime;
|
|||
|
// string station = inviteHigherInfo.data.station;
|
|||
|
// string cuteNo = inviteHigherInfo.data.cuteNo;
|
|||
|
// string memberTime = inviteHigherInfo.data.memberTime;
|
|||
|
// bool? isMember = inviteHigherInfo.data.isMember;
|
|||
|
// string unionId = inviteHigherInfo.data.unionId;
|
|||
|
|
|||
|
// // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶε<D6B6>ֵ
|
|||
|
// Debug.Log($"UserId: {userId}");
|
|||
|
// Debug.Log($"UserName: {userName}");
|
|||
|
// Debug.Log($"Token: {token}");
|
|||
|
// Debug.Log($"NickName: {nickName}");
|
|||
|
// Debug.Log($"HeadImg: {headImg}");
|
|||
|
// Debug.Log($"Gender: {gender}");
|
|||
|
// Debug.Log($"Birthday: {birthday}");
|
|||
|
// Debug.Log($"VoluteCoin: {voluteCoin}");
|
|||
|
// Debug.Log($"BeansCoin: {beansCoin}");
|
|||
|
// Debug.Log($"IchorCoin: {ichorCoin}");
|
|||
|
// Debug.Log($"IdCard: {idCard}");
|
|||
|
// Debug.Log($"Bank: {bank}");
|
|||
|
// Debug.Log($"RealName: {realName}");
|
|||
|
// Debug.Log($"IsCert: {isCert}");
|
|||
|
// Debug.Log($"InviteCodeMy: {inviteCodeMy}");
|
|||
|
// Debug.Log($"InviteCodeBind: {inviteCodeBind}");
|
|||
|
// Debug.Log($"BindTime: {bindTime}");
|
|||
|
// Debug.Log($"Station: {station}");
|
|||
|
// Debug.Log($"CuteNo: {cuteNo}");
|
|||
|
// Debug.Log($"MemberTime: {memberTime}");
|
|||
|
// Debug.Log($"IsMember: {isMember}");
|
|||
|
// Debug.Log($"UnionId: {unionId}");
|
|||
|
//}
|
|||
|
}
|
|||
|
catch (Exception ex)
|
|||
|
{
|
|||
|
Debug.LogError("<22><><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><D0BB><EFBFBD>Ӧʧ<D3A6><CAA7>: " + ex.Message);
|
|||
|
}
|
|||
|
|
|||
|
return inviteHigherInfo;
|
|||
|
}
|
|||
|
}
|