_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/RealNamePanel/ShiMingPanel.cs

60 lines
1.2 KiB
C#

using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
using static OrderPanel;
public class ShiMingPanel : MonoBehaviour
{
//姓名
public InputField inputName;
//身份证号
public InputField inputIDNum;
//银行卡
public InputField inputBankNum;
//手机号
public InputField inputPhone;
//认证按钮
public Button btnProve;
private RealName realName;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
//实名认证消息体
public class RealName
{
//身份证
public string idCard;
public string bank;
public string realName;
}
//准备请求的头部信息,包含授权令牌
private Dictionary<string, string> headInfo = new Dictionary<string, string>
{
{ "Authorization", Global.global.serverResponse.data.token }
};
public async Task ReGetOrder()
{
// 请求体
//异步发送请求
//string responsel6 = await web.SendRequest(web.URL + "/snail/order/queryPage", "POST", JsonUtility.ToJson(msg), headInfo);
//Debug.Log(responsel6);
}
}