mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
feat(wxapi): 随官方更新用户信息相关接口模型
This commit is contained in:
parent
93602991ef
commit
2ae6c5877b
@ -38,28 +38,28 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("sex")]
|
[Newtonsoft.Json.JsonProperty("sex")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("sex")]
|
[System.Text.Json.Serialization.JsonPropertyName("sex")]
|
||||||
public int Sex { get; set; }
|
public int? Sex { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取或设置用户所在城市。
|
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("city")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("city")]
|
|
||||||
public string City { get; set; } = default!;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取或设置用户所在省份。
|
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("province")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("province")]
|
|
||||||
public string Province { get; set; } = default!;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置用户所在国家。
|
/// 获取或设置用户所在国家。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("country")]
|
[Newtonsoft.Json.JsonProperty("country")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("country")]
|
[System.Text.Json.Serialization.JsonPropertyName("country")]
|
||||||
public string Country { get; set; } = default!;
|
public string? Country { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置用户所在省份。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("province")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("province")]
|
||||||
|
public string? Province { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置用户所在城市。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("city")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("city")]
|
||||||
|
public string? City { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置用户的语言。
|
/// 获取或设置用户的语言。
|
||||||
|
@ -34,28 +34,28 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("sex")]
|
[Newtonsoft.Json.JsonProperty("sex")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("sex")]
|
[System.Text.Json.Serialization.JsonPropertyName("sex")]
|
||||||
public int Sex { get; set; }
|
public int? Sex { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取或设置用户所在城市。
|
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("city")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("city")]
|
|
||||||
public string City { get; set; } = default!;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取或设置用户所在省份。
|
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("province")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("province")]
|
|
||||||
public string Province { get; set; } = default!;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置用户所在国家。
|
/// 获取或设置用户所在国家。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("country")]
|
[Newtonsoft.Json.JsonProperty("country")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("country")]
|
[System.Text.Json.Serialization.JsonPropertyName("country")]
|
||||||
public string Country { get; set; } = default!;
|
public string? Country { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置用户所在省份。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("province")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("province")]
|
||||||
|
public string? Province { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置用户所在城市。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("city")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("city")]
|
||||||
|
public string? City { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置用户的语言。
|
/// 获取或设置用户的语言。
|
||||||
|
@ -34,28 +34,28 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("sex")]
|
[Newtonsoft.Json.JsonProperty("sex")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("sex")]
|
[System.Text.Json.Serialization.JsonPropertyName("sex")]
|
||||||
public int Sex { get; set; }
|
public int? Sex { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取或设置用户所在城市。
|
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("city")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("city")]
|
|
||||||
public string City { get; set; } = default!;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取或设置用户所在省份。
|
|
||||||
/// </summary>
|
|
||||||
[Newtonsoft.Json.JsonProperty("province")]
|
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("province")]
|
|
||||||
public string Province { get; set; } = default!;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置用户所在国家。
|
/// 获取或设置用户所在国家。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("country")]
|
[Newtonsoft.Json.JsonProperty("country")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("country")]
|
[System.Text.Json.Serialization.JsonPropertyName("country")]
|
||||||
public string Country { get; set; } = default!;
|
public string? Country { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置用户所在省份。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("province")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("province")]
|
||||||
|
public string? Province { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置用户所在城市。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("city")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("city")]
|
||||||
|
public string? City { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置用户的头像 URL。
|
/// 获取或设置用户的头像 URL。
|
||||||
|
Loading…
Reference in New Issue
Block a user