mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 14:04:32 +08:00
feat(tenpayv2): 补充统一下单接口场景信息字段
This commit is contained in:
parent
d8af757ad1
commit
7c5536a9da
@ -123,6 +123,51 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("address")]
|
||||
public string? Address { get; set; }
|
||||
}
|
||||
|
||||
public class H5Info
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置场景类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("type")]
|
||||
public string? Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置应用名。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("app_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("app_name")]
|
||||
public string? AppName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 iOS 应用包名。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("bundle_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("bundle_id")]
|
||||
public string? BundleId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置 Android 应用包名。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("package_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("package_name")]
|
||||
public string? PackageName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置网站 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("wap_url")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("wap_url")]
|
||||
public string? WapUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置网站名。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("wap_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("wap_name")]
|
||||
public string? WapName { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -131,6 +176,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
||||
[Newtonsoft.Json.JsonProperty("store_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("store_info")]
|
||||
public Types.Store? Store { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置移动应用或网站应用信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("h5_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("h5_info")]
|
||||
public Types.H5Info? H5Info { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user