mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(work): 随官方更新获取客户详情接口响应模型
This commit is contained in:
@@ -38,7 +38,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
|||||||
{
|
{
|
||||||
flurlReq.SetQueryParam("upload_type", 0);
|
flurlReq.SetQueryParam("upload_type", 0);
|
||||||
|
|
||||||
using var httpContent = Utilities.FileHttpContentBuilder.Build(fileName: "image.png", fileBytes: request.ImageFileBytes, fileContentType: "image/png", formDataName: "media");
|
using var httpContent = Utilities.FileHttpContentBuilder.Build(fileName: "image.png", fileBytes: request.ImageFileBytes!, fileContentType: "image/png", formDataName: "media");
|
||||||
return await client.SendRequestAsync<Models.ShopImageUploadResponse>(flurlReq, httpContent: httpContent, cancellationToken: cancellationToken);
|
return await client.SendRequestAsync<Models.ShopImageUploadResponse>(flurlReq, httpContent: httpContent, cancellationToken: cancellationToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -177,6 +177,13 @@
|
|||||||
[Newtonsoft.Json.JsonProperty("nickname")]
|
[Newtonsoft.Json.JsonProperty("nickname")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
|
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
|
||||||
public string? Nickname { get; set; }
|
public string? Nickname { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置视频号添加场景。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("source")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("source")]
|
||||||
|
public int? Source { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user