feat(tenpayv3): 随官方更新平台收付通商家充值相关接口模型

This commit is contained in:
Fu Diwei
2025-09-24 16:43:40 +08:00
parent 549f5447b9
commit f20bae018e
4 changed files with 28 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
/// <summary>
@@ -53,5 +55,19 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
[Newtonsoft.Json.JsonProperty("notify_url")]
[System.Text.Json.Serialization.JsonPropertyName("notify_url")]
public string? NotifyUrl { get; set; }
/// <summary>
/// 获取或设置可用充值渠道列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("available_recharge_channels")]
[System.Text.Json.Serialization.JsonPropertyName("available_recharge_channels")]
public IList<string>? AvailableRechargeChannelList { get; set; }
/// <summary>
/// 获取或设置充值备注。
/// </summary>
[Newtonsoft.Json.JsonProperty("remark")]
[System.Text.Json.Serialization.JsonPropertyName("remark")]
public string? Remark { get; set; }
}
}

View File

@@ -107,5 +107,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
[System.Text.Json.Serialization.JsonPropertyName("close_time")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.Rfc3339DateTimeOffsetConverter))]
public DateTimeOffset? CloseTime { get; set; }
/// <summary>
/// 获取或设置可用充值渠道列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("available_recharge_channels")]
[System.Text.Json.Serialization.JsonPropertyName("available_recharge_channels")]
public string[]? AvailableRechargeChannelList { get; set; }
}
}

View File

@@ -7,5 +7,7 @@
"amount": 500000,
"currency": "CNY"
},
"notify_url": "https://www.weixin.qq.com/wxpay/pay.php"
"notify_url": "https://www.weixin.qq.com/wxpay/pay.php",
"available_recharge_channels": [ "BANK_TRANSFER" ],
"remark": "充值备注"
}

View File

@@ -19,5 +19,6 @@
"recharge_scene": "ECOMMERCE_BANK_TRANSFER",
"recharge_state": "SUCCESS",
"recharge_state_desc": "超过时间限制,系统自动关闭充值单",
"success_time": "2015-05-20T13:29:35+08:00"
"success_time": "2015-05-20T13:29:35+08:00",
"available_recharge_channels": [ "BANK_TRANSFER" ]
}