96 lines
2.3 KiB
C#
96 lines
2.3 KiB
C#
using System;
|
|
using System.Text.Json.Serialization;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace New_College.Model
|
|
{
|
|
public class Weixinauthinfo
|
|
{
|
|
public string openid { get; set; }
|
|
public string session_key { get; set; }
|
|
public string unionid { get; set; }
|
|
public string errcode { get; set; }
|
|
public string errmsg { get; set; }
|
|
|
|
}
|
|
|
|
|
|
public class Access_Token
|
|
{
|
|
public string access_token { get; set; }
|
|
|
|
public int expires_in { get; set; }
|
|
|
|
}
|
|
|
|
|
|
public class WxaBusinessGetUserPhoneNumberResponse
|
|
{
|
|
public int errcode { get; set; }
|
|
public string errmsg { get; set; }
|
|
public Phone_Info phone_info { get; set; }
|
|
}
|
|
|
|
public class WxaBusinessGetUserPhoneNumberRequest
|
|
{
|
|
public string access_Token { get; set; }
|
|
|
|
public string code { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public class Phone_Info
|
|
{
|
|
public string phoneNumber { get; set; }
|
|
public string purePhoneNumber { get; set; }
|
|
public int countryCode { get; set; }
|
|
public Watermark watermark { get; set; }
|
|
}
|
|
|
|
public class Watermark
|
|
{
|
|
public int timestamp { get; set; }
|
|
public string appid { get; set; }
|
|
}
|
|
|
|
|
|
public class GetPhoneInfo
|
|
{
|
|
public string encryptedData { get; set; }
|
|
|
|
public string iv { get; set; }
|
|
|
|
public string openid { get; set; }
|
|
|
|
public string session_key { get; set; }
|
|
}
|
|
|
|
public class WeixinModel
|
|
{
|
|
public string appId { get; set; }
|
|
public string nonceStr { get; set; }
|
|
public string package { get; set; }
|
|
public string signType { get; set; }
|
|
public string timeStamp { get; set; }
|
|
}
|
|
|
|
public class WeixinPayRespose
|
|
{
|
|
public string appid { get; set; }
|
|
public string mchi_id { get; set; }
|
|
public string device_info { get; set; }
|
|
public string nonce_str { get; set; }
|
|
public string sign { get; set; }
|
|
public string result_code { get; set; }
|
|
public string err_code { get; set; }
|
|
public string err_code_des { get; set; }
|
|
public string trade_type { get; set; }
|
|
public string prepay_id { get; set; }
|
|
public string code_url { get; set; }
|
|
public string timeStamp { get; set; }
|
|
public string orderid { get; set; }
|
|
}
|
|
}
|