mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
![]() |
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// <para>表示 [POST] /cgi-bin/media/uploadimg 接口的请求。</para>
|
|||
|
/// </summary>
|
|||
|
public class CgibinMediaUploadImageRequest : WechatApiRequest
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 获取或设置图片文件字节数组。
|
|||
|
/// </summary>
|
|||
|
[Newtonsoft.Json.JsonIgnore]
|
|||
|
[System.Text.Json.Serialization.JsonIgnore]
|
|||
|
public byte[] FileBytes { get; set; } = new byte[0];
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 获取或设置图片文件名。如果不指定将由系统自动生成。
|
|||
|
/// </summary>
|
|||
|
[Newtonsoft.Json.JsonIgnore]
|
|||
|
[System.Text.Json.Serialization.JsonIgnore]
|
|||
|
public string? FileName { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 获取或设置图片文件 Conent-Type。如果不指定将由系统自动生成。
|
|||
|
/// </summary>
|
|||
|
[Newtonsoft.Json.JsonIgnore]
|
|||
|
[System.Text.Json.Serialization.JsonIgnore]
|
|||
|
public string? FileContentType { get; set; }
|
|||
|
}
|
|||
|
}
|