mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 14:04:32 +08:00
feat(wxapi): 随官方标记微信小店合作账号相关接口为已废弃
This commit is contained in:
parent
b61cb273cd
commit
6140146a6d
@ -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/miniprogram/dev/platform-capabilities/business-capabilities/cooperation_shop/order_callback.html ]]>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class CooperationShopOrderEvent : WechatApiEvent
|
||||
{
|
||||
public static class Types
|
||||
|
@ -1812,6 +1812,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public static async Task<Models.ChannelsECCooperationListResponse> ExecuteChannelsECCooperationListAsync(this WechatApiClient client, Models.ChannelsECCooperationListRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
@ -1835,6 +1836,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public static async Task<Models.ChannelsECCooperationShopListResponse> ExecuteChannelsECCooperationShopListAsync(this WechatApiClient client, Models.ChannelsECCooperationShopListRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
@ -1858,6 +1860,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public static async Task<Models.ChannelsECCooperationProductListResponse> ExecuteChannelsECCooperationProductListAsync(this WechatApiClient client, Models.ChannelsECCooperationProductListRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
@ -1881,6 +1884,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public static async Task<Models.ChannelsECCooperationProductGetResponse> ExecuteChannelsECCooperationProductGetAsync(this WechatApiClient client, Models.ChannelsECCooperationProductGetRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
@ -1904,6 +1908,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public static async Task<Models.ChannelsECCooperationOrderGetResponse> ExecuteChannelsECCooperationOrderGetAsync(this WechatApiClient client, Models.ChannelsECCooperationOrderGetRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
@ -1928,6 +1933,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public static async Task<Models.ChannelsECCooperationInvitationCancelResponse> ExecuteChannelsECCooperationInvitationCancelAsync(this WechatApiClient client, Models.ChannelsECCooperationInvitationCancelRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
@ -1951,6 +1957,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public static async Task<Models.ChannelsECCooperationInvitationUnbindResponse> ExecuteChannelsECCooperationInvitationUnbindAsync(this WechatApiClient client, Models.ChannelsECCooperationInvitationUnbindRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
@ -1974,6 +1981,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public static async Task<Models.ChannelsECCooperationInvitationQrcodeGenerateResponse> ExecuteChannelsECCooperationInvitationQrcodeGenerateAsync(this WechatApiClient client, Models.ChannelsECCooperationInvitationQrcodeGenerateRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
@ -1997,6 +2005,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
|
||||
/// <param name="request"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public static async Task<Models.ChannelsECCooperationInvitationGetResponse> ExecuteChannelsECCooperationInvitationGetAsync(this WechatApiClient client, Models.ChannelsECCooperationInvitationGetRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (client is null) throw new ArgumentNullException(nameof(client));
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/list 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationListRequest : WechatApiRequest, IInferable<ChannelsECCooperationListRequest, ChannelsECCooperationListResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/list 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationListResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/order/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationOrderGetRequest : WechatApiRequest, IInferable<ChannelsECCooperationOrderGetRequest, ChannelsECCooperationOrderGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/order/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationOrderGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/product/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationProductGetRequest : WechatApiRequest, IInferable<ChannelsECCooperationProductGetRequest, ChannelsECCooperationProductGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/product/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationProductGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/product/list 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationProductListRequest : WechatApiRequest, IInferable<ChannelsECCooperationProductListRequest, ChannelsECCooperationProductListResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/product/list 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationProductListResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/shop/list 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationShopListRequest : WechatApiRequest, IInferable<ChannelsECCooperationShopListRequest, ChannelsECCooperationShopListResponse>
|
||||
{
|
||||
}
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/shop/list 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationShopListResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/invitation/cancel 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationInvitationCancelRequest : WechatApiRequest, IInferable<ChannelsECCooperationInvitationCancelRequest, ChannelsECCooperationInvitationCancelResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/invitation/cancel 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationInvitationCancelResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/invitation/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationInvitationGetRequest : WechatApiRequest, IInferable<ChannelsECCooperationInvitationGetRequest, ChannelsECCooperationInvitationGetResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/invitation/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationInvitationGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/invitation/qrcode/generate 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationInvitationQrcodeGenerateRequest : WechatApiRequest, IInferable<ChannelsECCooperationInvitationQrcodeGenerateRequest, ChannelsECCooperationInvitationQrcodeGenerateResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/invitation/qrcode/generate 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationInvitationQrcodeGenerateResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/invitation/unbind 接口的请求。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationInvitationUnbindRequest : WechatApiRequest, IInferable<ChannelsECCooperationInvitationUnbindRequest, ChannelsECCooperationInvitationUnbindResponse>
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -1,8 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/cooperation/invitation/unbind 接口的响应。</para>
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-06-16 下线。")]
|
||||
public class ChannelsECCooperationInvitationUnbindResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"ToUserName": "gh_2defbb026678",
|
||||
"FromUserName": "OPENID",
|
||||
"CreateTime": 1706518830,
|
||||
"MsgType": "event",
|
||||
"Event": "cooperation_shop_order",
|
||||
"EventData": {
|
||||
"order_id": "order_id_xxx",
|
||||
"shop_appid": "店铺appid"
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
{
|
||||
"sharer_type": 1
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"data_list": [
|
||||
{
|
||||
"sharer_id": "sphDFZbOEY46mMQ",
|
||||
"status": 2,
|
||||
"sharer_name": "视频号昵称1",
|
||||
"sharer_type": 1,
|
||||
"bind_time": 1728908643533,
|
||||
"unbind_time": 1728909064625,
|
||||
"reject_time": 0,
|
||||
"cancel_time": 0
|
||||
},
|
||||
{
|
||||
"sharer_id": "sphv31FDyX6sQOK",
|
||||
"status": 1,
|
||||
"sharer_name": "视频号昵称2",
|
||||
"sharer_type": 1,
|
||||
"bind_time": 1728903434994,
|
||||
"unbind_time": 0,
|
||||
"reject_time": 0,
|
||||
"cancel_time": 0
|
||||
}
|
||||
]
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"shop_appid": "SHOP_APPID",
|
||||
"order_id": "ORDER_ID"
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
{
|
||||
"order": {
|
||||
"openid": "OPENID",
|
||||
"order_detail": {
|
||||
"product_infos": [
|
||||
{
|
||||
"product_id": 234245,
|
||||
"sku_id": 23424,
|
||||
"sku_cnt": 10,
|
||||
"title": "健身环",
|
||||
"thumb_img": "https://mmecimage.cn/p/wx37f38d59298839c3/HJE9eJaEc5bJk-eaArVdILSB7MMaHgdK2-JIn51nMQ",
|
||||
"sale_price": 2000,
|
||||
"market_price": 2000,
|
||||
"sku_attrs": [
|
||||
{
|
||||
"attr_key": "产地",
|
||||
"attr_value": "四川成都"
|
||||
},
|
||||
{
|
||||
"attr_key": "材质",
|
||||
"attr_value": "玻璃"
|
||||
},
|
||||
{
|
||||
"attr_key": "适用人群",
|
||||
"attr_value": "青年;中年"
|
||||
},
|
||||
{
|
||||
"attr_key": "数量",
|
||||
"attr_value": "33"
|
||||
},
|
||||
{
|
||||
"attr_key": "精度",
|
||||
"attr_value": "3.001"
|
||||
},
|
||||
{
|
||||
"attr_key": "重量",
|
||||
"attr_value": "38 mg"
|
||||
},
|
||||
{
|
||||
"attr_key": "毛重",
|
||||
"attr_value": "380 kg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"price_info": {
|
||||
"product_price": 20000,
|
||||
"order_price": 10500,
|
||||
"freight": 500,
|
||||
"discounted_price": 10000,
|
||||
"is_discounted": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"shop_appid": "wx2b255582a7b4bfd0",
|
||||
"product_id": 10000157022254
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"product": {
|
||||
"product_id": 10000157022254,
|
||||
"title": "测试商品",
|
||||
"img_urls": [
|
||||
"IMG_URL0",
|
||||
"IMG_URL1"
|
||||
],
|
||||
"min_price": 2800
|
||||
},
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"shop_appid": "wx***************0",
|
||||
"page_size": 2
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
{
|
||||
"products": [
|
||||
{
|
||||
"product_id": 10000157022254
|
||||
},
|
||||
{
|
||||
"product_id": 10000157016507
|
||||
}
|
||||
],
|
||||
"total_num": 124,
|
||||
"next_key": "EhgIi/2/voWjAhCjzK24BhjAhZCBgICAgAI=",
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
{
|
||||
"shop_list": [
|
||||
{
|
||||
"appid": "wx***************0",
|
||||
"nickname": "测试店",
|
||||
"status": 1,
|
||||
"bind_time": 1728979333943,
|
||||
"unbind_time": 0,
|
||||
"cancel_time": 0
|
||||
}
|
||||
],
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"sharer_id": "sph3FZbOEY64mWQ",
|
||||
"sharer_type": 1
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"sharer_id": "sph3FZbOEY64mWQ",
|
||||
"sharer_type": 1
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"data": {
|
||||
"status": 7
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"sharer_id": "sph3FZbOEY64mWQ",
|
||||
"sharer_type": 1
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"data": {
|
||||
"qrcode_base64": "/9j/4A"
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"sharer_id": "sph3FZbOEY64mWQ",
|
||||
"sharer_type": 1
|
||||
}
|
Loading…
Reference in New Issue
Block a user