fix(wxapi): 修复代码质量问题

This commit is contained in:
Fu Diwei
2022-02-22 13:05:52 +08:00
parent e421b0f4fc
commit 097f489cf6
3 changed files with 5 additions and 6 deletions

View File

@@ -17,8 +17,8 @@
/// <summary>
/// 获取或设置是否通过。
/// </summary>
[Newtonsoft.Json.JsonProperty("MerchantId")]
[System.Text.Json.Serialization.JsonPropertyName("MerchantId")]
[Newtonsoft.Json.JsonProperty("IsPass")]
[System.Text.Json.Serialization.JsonPropertyName("IsPass")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalBooleanConverter))]
[System.Xml.Serialization.XmlElement("IsPass")]
public bool IsPassed { get; set; }

View File

@@ -87,8 +87,8 @@
/// <summary>
/// 获取或设置商户自定义字符串。
/// </summary>
[Newtonsoft.Json.JsonProperty("OuterId")]
[System.Text.Json.Serialization.JsonPropertyName("OuterId")]
[Newtonsoft.Json.JsonProperty("OuterStr")]
[System.Text.Json.Serialization.JsonPropertyName("OuterStr")]
[System.Xml.Serialization.XmlElement("OuterStr", IsNullable = true)]
public string? OuterString { get; set; }
}

View File

@@ -49,7 +49,6 @@
/// </summary>
[Newtonsoft.Json.JsonProperty("option_type")]
[System.Text.Json.Serialization.JsonPropertyName("option_type")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalBooleanConverter))]
[System.Xml.Serialization.XmlElement("option_type")]
public string OptionType { get; set; } = default!;
@@ -60,7 +59,7 @@
[System.Text.Json.Serialization.JsonPropertyName("complaint_order_id")]
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
[System.Xml.Serialization.XmlElement("complaint_order_id")]
public string ComplaintOrderId { get; set; } = default!;
public long ComplaintOrderId { get; set; }
/// <summary>
/// 获取或设置用户 OpenId。