From dbe37167356523a21e1c9b9b3f96c4bd8d28d7e2 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Tue, 4 Jun 2024 14:55:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(wxapi):=20=E6=96=B0=E5=A2=9E=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E5=8F=B7=E5=B0=8F=E5=BA=97=E7=9B=B4=E6=92=AD=E5=8F=8A?= =?UTF-8?q?=E9=A2=84=E7=BA=A6=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...echatApiClientExecuteChannelsExtensions.cs | 94 +++++++++++++++++++ ...iveGetFinderLiveNoticeRecordListRequest.cs | 9 ++ ...veGetFinderLiveNoticeRecordListResponse.cs | 71 ++++++++++++++ ...inderLiveGetFinderLiveRecordListRequest.cs | 9 ++ ...nderLiveGetFinderLiveRecordListResponse.cs | 56 +++++++++++ ...GetShopFinderLiveNoticeSharerUrlRequest.cs | 22 +++++ ...etShopFinderLiveNoticeSharerUrlResponse.cs | 15 +++ ...SharerGetShopFinderLiveSharerUrlRequest.cs | 22 +++++ ...harerGetShopFinderLiveSharerUrlResponse.cs | 15 +++ ...GetFinderLiveNoticeRecordListResponse.json | 15 +++ ...erLiveGetFinderLiveRecordListResponse.json | 13 +++ ...tShopFinderLiveNoticeSharerUrlRequest.json | 4 + ...ShopFinderLiveNoticeSharerUrlResponse.json | 5 + ...arerGetShopFinderLiveSharerUrlRequest.json | 4 + ...rerGetShopFinderLiveSharerUrlResponse.json | 5 + 15 files changed, 359 insertions(+) create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListRequest.cs create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListResponse.cs create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListRequest.cs create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListResponse.cs create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlRequest.cs create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlResponse.cs create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlRequest.cs create mode 100644 src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlResponse.cs create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlResponse.json diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs index 57b134fe..072c32ab 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteChannelsExtensions.cs @@ -898,6 +898,54 @@ namespace SKIT.FlurlHttpClient.Wechat.Api } #endregion + #region ECFinderLive + /// + /// 异步调用 [POST] /channels/ec/finderlive/getfinderliverecordlist 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteECFinderLiveGetFinderLiveRecordListAsync(this WechatApiClient client, Models.ECFinderLiveGetFinderLiveRecordListRequest request, CancellationToken cancellationToken = default) + { + if (client is null) throw new ArgumentNullException(nameof(client)); + if (request is null) throw new ArgumentNullException(nameof(request)); + + IFlurlRequest flurlReq = client + .CreateFlurlRequest(request, HttpMethod.Post, "channels", "ec", "finderlive", "getfinderliverecordlist") + .SetQueryParam("access_token", request.AccessToken); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + /// 异步调用 [POST] /channels/ec/finderlive/getfinderlivenoticerecordlist 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteECFinderLiveGetFinderLiveNoticeRecordListAsync(this WechatApiClient client, Models.ECFinderLiveGetFinderLiveNoticeRecordListRequest request, CancellationToken cancellationToken = default) + { + if (client is null) throw new ArgumentNullException(nameof(client)); + if (request is null) throw new ArgumentNullException(nameof(request)); + + IFlurlRequest flurlReq = client + .CreateFlurlRequest(request, HttpMethod.Post, "channels", "ec", "finderlive", "getfinderlivenoticerecordlist") + .SetQueryParam("access_token", request.AccessToken); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false); + } + #endregion + #region ECFunds /// /// 异步调用 [POST] /channels/ec/funds/getbalance 接口。 @@ -3373,6 +3421,52 @@ namespace SKIT.FlurlHttpClient.Wechat.Api return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken); } + + /// + /// 异步调用 [POST] /channels/ec/sharer/get_shop_finder_live_notice_sharer_url 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteChannelsECSharerGetShopFinderLiveNoticeSharerUrlAsync(this WechatApiClient client, Models.ChannelsECSharerGetShopFinderLiveNoticeSharerUrlRequest request, CancellationToken cancellationToken = default) + { + if (client is null) throw new ArgumentNullException(nameof(client)); + if (request is null) throw new ArgumentNullException(nameof(request)); + + IFlurlRequest flurlReq = client + .CreateFlurlRequest(request, HttpMethod.Post, "channels", "ec", "sharer", "get_shop_finder_live_notice_sharer_url") + .SetQueryParam("access_token", request.AccessToken); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken); + } + + /// + /// 异步调用 [POST] /channels/ec/sharer/get_shop_finder_live_sharer_url 接口。 + /// + /// REF:
+ /// + ///
+ ///
+ /// + /// + /// + /// + public static async Task ExecuteChannelsECSharerGetShopFinderLiveSharerUrlAsync(this WechatApiClient client, Models.ChannelsECSharerGetShopFinderLiveSharerUrlRequest request, CancellationToken cancellationToken = default) + { + if (client is null) throw new ArgumentNullException(nameof(client)); + if (request is null) throw new ArgumentNullException(nameof(request)); + + IFlurlRequest flurlReq = client + .CreateFlurlRequest(request, HttpMethod.Post, "channels", "ec", "sharer", "get_shop_finder_live_sharer_url") + .SetQueryParam("access_token", request.AccessToken); + + return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken); + } #endregion #region ECVip diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListRequest.cs new file mode 100644 index 00000000..2eb93de2 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListRequest.cs @@ -0,0 +1,9 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /channels/ec/finderlive/getfinderlivenoticerecordlist 接口的请求。 + /// + public class ECFinderLiveGetFinderLiveNoticeRecordListRequest : WechatApiRequest, IInferable + { + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListResponse.cs new file mode 100644 index 00000000..5fb8efaa --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListResponse.cs @@ -0,0 +1,71 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /channels/ec/finderlive/getfinderlivenoticerecordlist 接口的响应。 + /// + public class ECFinderLiveGetFinderLiveNoticeRecordListResponse : WechatApiResponse + { + public static class Types + { + public class Notice + { + /// + /// 获取或设置直播预告 ID。 + /// + [Newtonsoft.Json.JsonProperty("notice_id")] + [System.Text.Json.Serialization.JsonPropertyName("notice_id")] + public string NoticeId { get; set; } = default!; + + /// + /// 获取或设置预约状态。 + /// + [Newtonsoft.Json.JsonProperty("status")] + [System.Text.Json.Serialization.JsonPropertyName("status")] + public int Status { get; set; } + + /// + /// 获取或设置预约状态文本。 + /// + [Newtonsoft.Json.JsonProperty("status_wording")] + [System.Text.Json.Serialization.JsonPropertyName("status_wording")] + public string StatusText { get; set; } = default!; + + /// + /// 获取或设置直播开始时间戳。 + /// + [Newtonsoft.Json.JsonProperty("start_time")] + [System.Text.Json.Serialization.JsonPropertyName("start_time")] + [System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)] + public long StartTimestamp { get; set; } + + /// + /// 获取或设置预约描述。 + /// + [Newtonsoft.Json.JsonProperty("description")] + [System.Text.Json.Serialization.JsonPropertyName("description")] + public string Description { get; set; } = default!; + + /// + /// 获取或设置开播视频号昵称。 + /// + [Newtonsoft.Json.JsonProperty("nickname")] + [System.Text.Json.Serialization.JsonPropertyName("nickname")] + public string Nickname { get; set; } = default!; + + /// + /// 获取或设置开播视频号头像 URL。 + /// + [Newtonsoft.Json.JsonProperty("head_url")] + [System.Text.Json.Serialization.JsonPropertyName("head_url")] + public string HeadImageUrl { get; set; } = default!; + } + } + + /// + /// 获取或设置直播预告列表。 + /// + [Newtonsoft.Json.JsonProperty("live_notice_list")] + [System.Text.Json.Serialization.JsonPropertyName("live_notice_list")] + public Types.Notice[] NoticeList { get; set; } = default!; + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListRequest.cs new file mode 100644 index 00000000..6147640b --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListRequest.cs @@ -0,0 +1,9 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /channels/ec/finderlive/getfinderliverecordlist 接口的请求。 + /// + public class ECFinderLiveGetFinderLiveRecordListRequest : WechatApiRequest, IInferable + { + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListResponse.cs new file mode 100644 index 00000000..06fbc258 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListResponse.cs @@ -0,0 +1,56 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /channels/ec/finderlive/getfinderliverecordlist 接口的响应。 + /// + public class ECFinderLiveGetFinderLiveRecordListResponse : WechatApiResponse + { + public static class Types + { + public class Live + { + /// + /// 获取或设置直播 ID。 + /// + [Newtonsoft.Json.JsonProperty("export_id")] + [System.Text.Json.Serialization.JsonPropertyName("export_id")] + public string ExportId { get; set; } = default!; + + /// + /// 获取或设置直播描述。 + /// + [Newtonsoft.Json.JsonProperty("description")] + [System.Text.Json.Serialization.JsonPropertyName("description")] + public string Description { get; set; } = default!; + + /// + /// 获取或设置直播封面 URL。 + /// + [Newtonsoft.Json.JsonProperty("cover_url")] + [System.Text.Json.Serialization.JsonPropertyName("cover_url")] + public string CoverUrl { get; set; } = default!; + + /// + /// 获取或设置开播视频号昵称。 + /// + [Newtonsoft.Json.JsonProperty("nickname")] + [System.Text.Json.Serialization.JsonPropertyName("nickname")] + public string Nickname { get; set; } = default!; + + /// + /// 获取或设置开播视频号头像 URL。 + /// + [Newtonsoft.Json.JsonProperty("head_url")] + [System.Text.Json.Serialization.JsonPropertyName("head_url")] + public string HeadImageUrl { get; set; } = default!; + } + } + + /// + /// 获取或设置直播列表。 + /// + [Newtonsoft.Json.JsonProperty("live_list")] + [System.Text.Json.Serialization.JsonPropertyName("live_list")] + public Types.Live[] LiveList { get; set; } = default!; + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlRequest.cs new file mode 100644 index 00000000..5f3f8539 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlRequest.cs @@ -0,0 +1,22 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /channels/ec/sharer/get_shop_finder_live_notice_sharer_url 接口的请求。 + /// + public class ChannelsECSharerGetShopFinderLiveNoticeSharerUrlRequest : WechatApiRequest, IInferable + { + /// + /// 获取或设置直播预告 ID。 + /// + [Newtonsoft.Json.JsonProperty("notice_id")] + [System.Text.Json.Serialization.JsonPropertyName("notice_id")] + public string NoticeId { get; set; } = string.Empty; + + /// + /// 获取或设置视频号 ID。 + /// + [Newtonsoft.Json.JsonProperty("finder_id")] + [System.Text.Json.Serialization.JsonPropertyName("finder_id")] + public string FinderId { get; set; } = string.Empty; + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlResponse.cs new file mode 100644 index 00000000..cb3ed29a --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlResponse.cs @@ -0,0 +1,15 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /channels/ec/sharer/get_shop_finder_live_notice_sharer_url 接口的响应。 + /// + public class ChannelsECSharerGetShopFinderLiveNoticeSharerUrlResponse : WechatApiResponse + { + /// + /// 获取或设置分享链接。 + /// + [Newtonsoft.Json.JsonProperty("url")] + [System.Text.Json.Serialization.JsonPropertyName("url")] + public string Url { get; set; } = default!; + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlRequest.cs new file mode 100644 index 00000000..44b32256 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlRequest.cs @@ -0,0 +1,22 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /channels/ec/sharer/get_shop_finder_live_sharer_url 接口的请求。 + /// + public class ChannelsECSharerGetShopFinderLiveSharerUrlRequest : WechatApiRequest, IInferable + { + /// + /// 获取或设置直播 ID。 + /// + [Newtonsoft.Json.JsonProperty("export_id")] + [System.Text.Json.Serialization.JsonPropertyName("export_id")] + public string ExportId { get; set; } = string.Empty; + + /// + /// 获取或设置视频号 ID。 + /// + [Newtonsoft.Json.JsonProperty("finder_id")] + [System.Text.Json.Serialization.JsonPropertyName("finder_id")] + public string FinderId { get; set; } = string.Empty; + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlResponse.cs new file mode 100644 index 00000000..766ee1cc --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlResponse.cs @@ -0,0 +1,15 @@ +namespace SKIT.FlurlHttpClient.Wechat.Api.Models +{ + /// + /// 表示 [POST] /channels/ec/sharer/get_shop_finder_live_sharer_url 接口的响应。 + /// + public class ChannelsECSharerGetShopFinderLiveSharerUrlResponse : WechatApiResponse + { + /// + /// 获取或设置分享链接。 + /// + [Newtonsoft.Json.JsonProperty("url")] + [System.Text.Json.Serialization.JsonPropertyName("url")] + public string Url { get; set; } = default!; + } +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListResponse.json new file mode 100644 index 00000000..712a826b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECFinderLive/ECFinderLiveGetFinderLiveNoticeRecordListResponse.json @@ -0,0 +1,15 @@ +{ + "errcode": "0", + "errmsg": "ok", + "live_notice_list": [ + { + "notice_id": "直播预约id", + "status": 0, + "status_wording": "状态描述", + "start_time": "1234567890", + "description": "描述", + "nickname": "开播视频号昵称", + "head_url": "开播视频号头像" + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListResponse.json new file mode 100644 index 00000000..1d2b0d17 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECFinderLive/ECFinderLiveGetFinderLiveRecordListResponse.json @@ -0,0 +1,13 @@ +{ + "errcode": "0", + "errmsg": "ok", + "live_list": [ + { + "export_id": "直播id", + "description": "描述", + "cover_url": "直播封面", + "nickname": "开播视频号昵称", + "head_url": "开播视频号头像" + } + ] +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlRequest.json new file mode 100644 index 00000000..fbafc127 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlRequest.json @@ -0,0 +1,4 @@ +{ + "notice_id": "XXXXXX", + "finder_id": "XXXXXX" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlResponse.json new file mode 100644 index 00000000..4c8c0861 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveNoticeSharerUrlResponse.json @@ -0,0 +1,5 @@ +{ + "errcode": "0", + "errmsg": "ok", + "url": "http" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlRequest.json new file mode 100644 index 00000000..f5b0aa94 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlRequest.json @@ -0,0 +1,4 @@ +{ + "export_id": "XXXXXX", + "finder_id": "XXXXXX" +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlResponse.json new file mode 100644 index 00000000..4c8c0861 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Channels/ECSharer/ChannelsECSharerGetShopFinderLiveSharerUrlResponse.json @@ -0,0 +1,5 @@ +{ + "errcode": "0", + "errmsg": "ok", + "url": "http" +}