docs(tenpayv3): 完善注释

This commit is contained in:
Fu Diwei 2025-04-07 19:59:41 +08:00
parent 6a68c2d253
commit 186494f82b
2 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,9 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Sample.Services.BackgroundService
protected override async Task ExecuteAsync(CancellationToken stoppingToken) protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{ {
// NOTICE:
// 2024-10-01 后微信支付新增了基于微信支付公钥的验证身份方式,
// 如果你已切换至使用平台公钥,则不再需要下载平台证书,可忽略此定时任务。
while (!stoppingToken.IsCancellationRequested) while (!stoppingToken.IsCancellationRequested)
{ {
foreach (var tenpayMerchantOptions in _tenpayOptions.Merchants) foreach (var tenpayMerchantOptions in _tenpayOptions.Merchants)

View File

@ -12,6 +12,9 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Sample.Services.BackgroundJobs
public async Task ExecuteAsync() public async Task ExecuteAsync()
{ {
// NOTICE:
// 2024-10-01 后微信支付新增了基于微信支付公钥的验证身份方式,
// 如果你已切换至使用平台公钥,则不再需要下载平台证书,可忽略此定时任务。
foreach (var tenpayMerchantOptions in Options.TenpayOptions.Instance.Value.Merchants) foreach (var tenpayMerchantOptions in Options.TenpayOptions.Instance.Value.Merchants)
{ {
try try