feat(wxapi): 随官方标记微信门店相关接口为已废弃

This commit is contained in:
Fu Diwei 2024-09-19 09:52:51 +08:00
parent 4f9ad654ae
commit 9064961e2e
6 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,5 @@
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
/// <summary>
@ -7,6 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events
/// <![CDATA[ https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#8 ]]>
/// </para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public class POICheckNotifyEvent : WechatApiEvent
{
/// <summary>

View File

@ -20,6 +20,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public static async Task<Models.CgibinPOIAddPOIResponse> ExecuteCgibinPOIAddPOIAsync(this WechatApiClient client, Models.CgibinPOIAddPOIRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
@ -90,6 +91,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public static async Task<Models.CgibinPOIUpdatePOIResponse> ExecuteCgibinPOIUpdatePOIAsync(this WechatApiClient client, Models.CgibinPOIUpdatePOIRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));

View File

@ -1,10 +1,12 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/poi/addpoi 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public class CgibinPOIAddPOIRequest : WechatApiRequest, IInferable<CgibinPOIAddPOIRequest, CgibinPOIAddPOIResponse>
{
public static class Types

View File

@ -1,8 +1,11 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/poi/addpoi 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public class CgibinPOIAddPOIResponse : WechatApiResponse
{
}

View File

@ -1,10 +1,12 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/poi/updatepoi 接口的请求。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public class CgibinPOIUpdatePOIRequest : WechatApiRequest, IInferable<CgibinPOIUpdatePOIRequest, CgibinPOIUpdatePOIResponse>
{
public static class Types

View File

@ -1,8 +1,11 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
using System;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/poi/updatepoi 接口的响应。</para>
/// </summary>
[Obsolete("相关接口或字段于 2024-07-05 下线。")]
public class CgibinPOIUpdatePOIResponse : WechatApiResponse
{
}