mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-04-05 17:37:54 +08:00
46 lines
1.5 KiB
C#
46 lines
1.5 KiB
C#
using System;
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
|
{
|
|
/// <summary>
|
|
/// <para>表示 [POST] /secapi/mch/uploadmedia 接口的请求。</para>
|
|
/// </summary>
|
|
public class UploadMerchantMediaRequest : WechatTenpayRequest
|
|
{
|
|
/// <summary>
|
|
/// <i>(冗余字段,请忽略)</i>
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonIgnore]
|
|
[System.Text.Json.Serialization.JsonIgnore]
|
|
public override string? MerchantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// <i>(冗余字段,请忽略)</i>
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonIgnore]
|
|
[System.Text.Json.Serialization.JsonIgnore]
|
|
public override string? AppId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置任务上传字节数组。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonIgnore]
|
|
[System.Text.Json.Serialization.JsonIgnore]
|
|
public byte[] FileBytes { get; set; } = Array.Empty<byte>();
|
|
|
|
/// <summary>
|
|
/// 获取或设置任务上传文件名。如果不指定将由系统自动生成。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonIgnore]
|
|
[System.Text.Json.Serialization.JsonIgnore]
|
|
public string? FileName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置任务上传文件摘要。如果不指定将由系统自动生成。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonIgnore]
|
|
[System.Text.Json.Serialization.JsonIgnore]
|
|
public string? FileHash { get; set; }
|
|
}
|
|
}
|