mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 09:54:44 +08:00
feat(tenpayv3): 新增摇一摇有优惠品牌门店相关接口
This commit is contained in:
@@ -61,6 +61,8 @@
|
|||||||
| √ | 运营工具:点金计划 | 合作伙伴 | |
|
| √ | 运营工具:点金计划 | 合作伙伴 | |
|
||||||
| × | <del>运营工具:现金红包</del> | 直连商户 & 合作伙伴 | 官方未提供 v3 API |
|
| × | <del>运营工具:现金红包</del> | 直连商户 & 合作伙伴 | 官方未提供 v3 API |
|
||||||
| √ | 运营工具:品牌红包 | 直连商户 | |
|
| √ | 运营工具:品牌红包 | 直连商户 | |
|
||||||
|
| √ | 运营工具:品牌门店(商家券) | 直连商户 & 合作伙伴 | |
|
||||||
|
| √ | 运营工具:品牌门店(商品券) | 合作伙伴 | |
|
||||||
| √ | 运营工具:商家名片会员 | 合作伙伴 | |
|
| √ | 运营工具:商家名片会员 | 合作伙伴 | |
|
||||||
| √ | 扩展工具:分账 | 直连商户 & 合作伙伴 | |
|
| √ | 扩展工具:分账 | 直连商户 & 合作伙伴 | |
|
||||||
| √ | 扩展工具:连锁品牌分账 | 合作伙伴 | |
|
| √ | 扩展工具:连锁品牌分账 | 合作伙伴 | |
|
||||||
@@ -75,7 +77,6 @@
|
|||||||
| √ | 其他:代扣服务切卡组件 | 直连商户 & 合作伙伴 | |
|
| √ | 其他:代扣服务切卡组件 | 直连商户 & 合作伙伴 | |
|
||||||
| √ | 其他:图片上传(营销专用) | 直连商户 & 合作伙伴 | |
|
| √ | 其他:图片上传(营销专用) | 直连商户 & 合作伙伴 | |
|
||||||
| √ | 其他:微信先享卡 | 直连商户 | |
|
| √ | 其他:微信先享卡 | 直连商户 | |
|
||||||
| √ | 其他:连锁品牌门店 | 合作伙伴 | |
|
|
||||||
| √ | 其他:品牌小店营销 | 合作伙伴 | |
|
| √ | 其他:品牌小店营销 | 合作伙伴 | |
|
||||||
| √ | 其他:租用充电宝隔夜归还 | 直连商户 | |
|
| √ | 其他:租用充电宝隔夜归还 | 直连商户 | |
|
||||||
| √ | 其他:ETC 扣费 | 合作伙伴 | |
|
| √ | 其他:ETC 扣费 | 合作伙伴 | |
|
||||||
@@ -520,6 +521,18 @@
|
|||||||
|
|
||||||
- 微信支付明细单号查询明细单:`GetFundAppBrandRedPacketBrandMerchantBatchDetailByDetailNumber`
|
- 微信支付明细单号查询明细单:`GetFundAppBrandRedPacketBrandMerchantBatchDetailByDetailNumber`
|
||||||
|
|
||||||
|
- 品牌门店(商家券)
|
||||||
|
|
||||||
|
- 创建门店:`CreateMerchantStore`
|
||||||
|
|
||||||
|
- 查询门店:`GetMerchantStoreByStoreId`
|
||||||
|
|
||||||
|
- 修改门店:`ModifyMerchantStore`
|
||||||
|
|
||||||
|
- 绑定门店收款信息:`BindMerchantStoreRecipient`
|
||||||
|
|
||||||
|
- 解除门店收款信息绑定:`UnbindMerchantStoreRecipient`
|
||||||
|
|
||||||
- 商家充值
|
- 商家充值
|
||||||
|
|
||||||
- 申请银行转账充值:`ApplyBankTransferRecharge`
|
- 申请银行转账充值:`ApplyBankTransferRecharge`
|
||||||
@@ -1326,6 +1339,32 @@
|
|||||||
|
|
||||||
- 关闭广告展示:`CloseGoldPlanAdvertisingShow`
|
- 关闭广告展示:`CloseGoldPlanAdvertisingShow`
|
||||||
|
|
||||||
|
- 品牌门店(商家券)
|
||||||
|
|
||||||
|
- 创建品牌门店:`CreateMerchantStore`
|
||||||
|
|
||||||
|
- 查询品牌门店:`GetMerchantStoreByStoreId`
|
||||||
|
|
||||||
|
- 修改品牌门店:`ModifyMerchantStore`
|
||||||
|
|
||||||
|
- 绑定品牌门店收款商户号:`BindMerchantStoreRecipient`
|
||||||
|
|
||||||
|
- 解绑品牌门店收款商户号:`UnbindMerchantStoreRecipient`
|
||||||
|
|
||||||
|
- 品牌门店(商品券)
|
||||||
|
|
||||||
|
- 创建品牌门店:`CreateBrandPartnerStore`
|
||||||
|
|
||||||
|
- 删除品牌门店:`DeleteBrandPartnerStore`
|
||||||
|
|
||||||
|
- 更新品牌门店:`ModifyBrandPartnerStore`
|
||||||
|
|
||||||
|
- 查询品牌门店:`GetBrandPartnerStoreByStoreId`
|
||||||
|
|
||||||
|
- 绑定收款商户号:`BindBrandPartnerStoreRecipient`
|
||||||
|
|
||||||
|
- 解绑收款商户号:`UnbindBrandPartnerStoreRecipient`
|
||||||
|
|
||||||
- 商家名片会员
|
- 商家名片会员
|
||||||
|
|
||||||
- 会员卡模板管理:
|
- 会员卡模板管理:
|
||||||
@@ -1576,18 +1615,6 @@
|
|||||||
|
|
||||||
- 出行券切卡组件预下单:`CreateIndustryCouponToken`
|
- 出行券切卡组件预下单:`CreateIndustryCouponToken`
|
||||||
|
|
||||||
- 连锁品牌门店
|
|
||||||
|
|
||||||
- 创建门店:`CreateMerchantStore`
|
|
||||||
|
|
||||||
- 查询门店:`GetMerchantStoreByStoreId`
|
|
||||||
|
|
||||||
- 修改门店:`ModifyMerchantStore`
|
|
||||||
|
|
||||||
- 绑定门店收款信息:`BindMerchantStoreRecipient`
|
|
||||||
|
|
||||||
- 解除门店收款信息绑定:`UnbindMerchantStoreRecipient`
|
|
||||||
|
|
||||||
- 品牌小店营销
|
- 品牌小店营销
|
||||||
|
|
||||||
- 查询零售小店活动业务代理:`QueryMarketingGoodsSubsidyActivityRetailStoreRepresentatives`
|
- 查询零售小店活动业务代理:`QueryMarketingGoodsSubsidyActivityRetailStoreRepresentatives`
|
||||||
|
|||||||
@@ -0,0 +1,145 @@
|
|||||||
|
using System;
|
||||||
|
using System.Net.Http;
|
||||||
|
using System.Threading;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Flurl;
|
||||||
|
using Flurl.Http;
|
||||||
|
|
||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
||||||
|
{
|
||||||
|
public static class WechatTenpayClientExecuteBrandPartnerStoreExtensions
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>异步调用 [POST] /brand/partner/store/brandstores 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/partner/4015783183 ]]>
|
||||||
|
/// </para>
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="client"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <param name="cancellationToken"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static async Task<Models.CreateBrandPartnerStoreResponse> ExecuteCreateBrandPartnerStoreAsync(this WechatTenpayClient client, Models.CreateBrandPartnerStoreRequest 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, "brand", "partner", "store", "brandstores");
|
||||||
|
|
||||||
|
return await client.SendFlurlRequestAsJsonAsync<Models.CreateBrandPartnerStoreResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// <para>异步调用 [GET] /brand/partner/store/brandstores/{store_id} 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/partner/4015783153 ]]>
|
||||||
|
/// </para>
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="client"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <param name="cancellationToken"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static async Task<Models.GetBrandPartnerStoreByStoreIdResponse> ExecuteGetBrandPartnerStoreByStoreIdAsync(this WechatTenpayClient client, Models.GetBrandPartnerStoreByStoreIdRequest 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.Get, "brand", "partner", "store", "brandstores", request.StoreId)
|
||||||
|
.SetQueryParam("brand_id", request.BrandId);
|
||||||
|
|
||||||
|
return await client.SendFlurlRequestAsJsonAsync<Models.GetBrandPartnerStoreByStoreIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// <para>异步调用 [PATCH] /brand/partner/store/brandstores/{store_id} 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/partner/4015783158 ]]>
|
||||||
|
/// </para>
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="client"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <param name="cancellationToken"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static async Task<Models.ModifyBrandPartnerStoreResponse> ExecuteModifyBrandPartnerStoreAsync(this WechatTenpayClient client, Models.ModifyBrandPartnerStoreRequest 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, new HttpMethod("PATCH"), "brand", "partner", "store", "brandstores", request.StoreId);
|
||||||
|
|
||||||
|
return await client.SendFlurlRequestAsJsonAsync<Models.ModifyBrandPartnerStoreResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// <para>异步调用 [DELETE] /brand/partner/store/brandstores/{store_id} 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/partner/4015783113 ]]>
|
||||||
|
/// </para>
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="client"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <param name="cancellationToken"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static async Task<Models.DeleteBrandPartnerStoreResponse> ExecuteDeleteBrandPartnerStoreAsync(this WechatTenpayClient client, Models.DeleteBrandPartnerStoreRequest 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.Delete, "brand", "partner", "store", "brandstores", request.StoreId);
|
||||||
|
|
||||||
|
return await client.SendFlurlRequestAsJsonAsync<Models.DeleteBrandPartnerStoreResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// <para>异步调用 [POST] /brand/partner/store/brandstores/{store_id}/bindrecipient 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/partner/4015783177 ]]>
|
||||||
|
/// </para>
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="client"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <param name="cancellationToken"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static async Task<Models.BindBrandPartnerStoreRecipientResponse> ExecuteBindBrandPartnerStoreRecipientAsync(this WechatTenpayClient client, Models.BindBrandPartnerStoreRecipientRequest 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, "brand", "partner", "store", "brandstores", request.StoreId, "bindrecipient");
|
||||||
|
|
||||||
|
return await client.SendFlurlRequestAsJsonAsync<Models.BindBrandPartnerStoreRecipientResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// <para>异步调用 [POST] /brand/partner/store/brandstores/{store_id}/unbindrecipient 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/partner/4015783188 ]]>
|
||||||
|
/// </para>
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="client"></param>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <param name="cancellationToken"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static async Task<Models.UnbindBrandPartnerStoreRecipientResponse> ExecuteUnbindBrandPartnerStoreRecipientAsync(this WechatTenpayClient client, Models.UnbindBrandPartnerStoreRecipientRequest 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, "brand", "partner", "store", "brandstores", request.StoreId, "unbindrecipient");
|
||||||
|
|
||||||
|
return await client.SendFlurlRequestAsJsonAsync<Models.UnbindBrandPartnerStoreRecipientResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -11,6 +11,11 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
|||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>异步调用 [POST] /merchant-store/stores 接口。</para>
|
/// <para>异步调用 [POST] /merchant-store/stores 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/merchant/4014085766 ]]> <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/merchant/4013948546 ]]>
|
||||||
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="client"></param>
|
/// <param name="client"></param>
|
||||||
/// <param name="request"></param>
|
/// <param name="request"></param>
|
||||||
@@ -29,6 +34,11 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>异步调用 [GET] /merchant-store/stores/{store_id} 接口。</para>
|
/// <para>异步调用 [GET] /merchant-store/stores/{store_id} 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/merchant/4014085768 ]]> <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/merchant/4013948551 ]]>
|
||||||
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="client"></param>
|
/// <param name="client"></param>
|
||||||
/// <param name="request"></param>
|
/// <param name="request"></param>
|
||||||
@@ -48,6 +58,11 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>异步调用 [PATCH] /merchant-store/stores/{store_id} 接口。</para>
|
/// <para>异步调用 [PATCH] /merchant-store/stores/{store_id} 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/merchant/4014085769 ]]> <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/merchant/4013948577 ]]>
|
||||||
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="client"></param>
|
/// <param name="client"></param>
|
||||||
/// <param name="request"></param>
|
/// <param name="request"></param>
|
||||||
@@ -64,9 +79,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
|||||||
return await client.SendFlurlRequestAsJsonAsync<Models.ModifyMerchantStoreResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
return await client.SendFlurlRequestAsJsonAsync<Models.ModifyMerchantStoreResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>异步调用 [POST] /merchant-store/stores/{store_id}/recipients/bind 接口。</para>
|
/// <para>异步调用 [POST] /merchant-store/stores/{store_id}/recipients/bind 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/merchant/4014085771 ]]> <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/merchant/4013948577 ]]>
|
||||||
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="client"></param>
|
/// <param name="client"></param>
|
||||||
/// <param name="request"></param>
|
/// <param name="request"></param>
|
||||||
@@ -85,6 +104,11 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>异步调用 [POST] /merchant-store/stores/{store_id}/recipients/unbind 接口。</para>
|
/// <para>异步调用 [POST] /merchant-store/stores/{store_id}/recipients/unbind 接口。</para>
|
||||||
|
/// <para>
|
||||||
|
/// REF: <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/merchant/4014085773 ]]> <br/>
|
||||||
|
/// <![CDATA[ https://pay.weixin.qq.com/doc/v3/merchant/4013948580 ]]>
|
||||||
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="client"></param>
|
/// <param name="client"></param>
|
||||||
/// <param name="request"></param>
|
/// <param name="request"></param>
|
||||||
@@ -100,6 +124,5 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
|||||||
|
|
||||||
return await client.SendFlurlRequestAsJsonAsync<Models.UnbindMerchantStoreRecipientResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
return await client.SendFlurlRequestAsJsonAsync<Models.UnbindMerchantStoreRecipientResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
#endregion
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [POST] /brand/partner/store/brandstores/{store_id}/bindrecipient 接口的请求。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class BindBrandPartnerStoreRecipientRequest : WechatTenpayRequest
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
|
public string StoreId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置品牌 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("brand_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("brand_id")]
|
||||||
|
public string BrandId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店收款商户号。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("mchid")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("mchid")]
|
||||||
|
public string MerchantId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店收款主体。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("company_name")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("company_name")]
|
||||||
|
public string CompanyName { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [POST] /brand/partner/store/brandstores/{store_id}/bindrecipient 接口的响应。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class BindBrandPartnerStoreRecipientResponse : WechatTenpayResponse
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_id")]
|
||||||
|
public string StoreId { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置品牌 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("brand_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("brand_id")]
|
||||||
|
public string BrandId { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店收款商户号。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("mchid")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("mchid")]
|
||||||
|
public string MerchantId { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店收款主体。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("company_name")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("company_name")]
|
||||||
|
public string CompanyName { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置收款绑定状态。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("recipient_state")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("recipient_state")]
|
||||||
|
public string RecipientState { get; set; } = default!;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [POST] /brand/partner/store/brandstores 接口的请求。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class CreateBrandPartnerStoreRequest : WechatTenpayRequest
|
||||||
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class Basic
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商家门店编号。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_reference_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_reference_id")]
|
||||||
|
public string? StoreReferenceId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置分店名称。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("branch_name")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("branch_name")]
|
||||||
|
public string? BranchName { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Address
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店省市编码。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("address_code")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("address_code")]
|
||||||
|
public string? AddressCode { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店地址。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("address_detail")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("address_detail")]
|
||||||
|
public string? AddressDetail { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店地址辅助描述。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("address_complements")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("address_complements")]
|
||||||
|
public string? AddressComplements { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店经度。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("longitude")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("longitude")]
|
||||||
|
public string? Longitude { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店纬度。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("latitude")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("latitude")]
|
||||||
|
public string? Latitude { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Business
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店服务电话。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("service_phone")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("service_phone")]
|
||||||
|
public string? ServicePhoneNumber { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店经营时间。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("business_hours")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("business_hours")]
|
||||||
|
public string? BusinessHours { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置品牌 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("brand_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("brand_id")]
|
||||||
|
public string BrandId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店基础信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_basics")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_basics")]
|
||||||
|
public Types.Basic Basic { get; set; } = new Types.Basic();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店地址信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_address")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_address")]
|
||||||
|
public Types.Address Address { get; set; } = new Types.Address();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店经营信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_business")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_business")]
|
||||||
|
public Types.Business Business { get; set; } = new Types.Business();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [POST] /brand/partner/store/brandstores 接口的响应。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class CreateBrandPartnerStoreResponse : GetBrandPartnerStoreByStoreIdResponse
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [DELETE] /brand/partner/store/brandstores/{store_id} 接口的请求。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class DeleteBrandPartnerStoreRequest : WechatTenpayRequest
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
|
public string StoreId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置品牌 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("brand_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("brand_id")]
|
||||||
|
public string BrandId { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [DELETE] /brand/partner/store/brandstores/{store_id} 接口的响应。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class DeleteBrandPartnerStoreResponse : WechatTenpayResponse
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [GET] /brand/partner/store/brandstores/{store_id} 接口的请求。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class GetBrandPartnerStoreByStoreIdRequest : WechatTenpayRequest
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
|
public string StoreId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置品牌 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
|
public string BrandId { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,110 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [GET] /brand/partner/store/brandstores/{store_id} 接口的响应。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class GetBrandPartnerStoreByStoreIdResponse : WechatTenpayResponse
|
||||||
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class Basic : CreateBrandPartnerStoreRequest.Types.Basic
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Address : CreateBrandPartnerStoreRequest.Types.Address
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Business : CreateBrandPartnerStoreRequest.Types.Business
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Recipient
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店收款商户号。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("mchid")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("mchid")]
|
||||||
|
public string? MerchantId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店收款主体。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("company_name")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("company_name")]
|
||||||
|
public string? CompanyName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置收款绑定状态。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("recipient_state")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("recipient_state")]
|
||||||
|
public string? RecipientState { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_id")]
|
||||||
|
public string StoreId { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置品牌 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("brand_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("brand_id")]
|
||||||
|
public string BrandId { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店状态。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_state")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_state")]
|
||||||
|
public string StoreState { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置审核状态。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("audit_state")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("audit_state")]
|
||||||
|
public string AuditState { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置审核失败原因。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("review_reject_reason")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("review_reject_reason")]
|
||||||
|
public string? ReviewRejectReason { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店基础信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_basics")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_basics")]
|
||||||
|
public Types.Basic Basic { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店地址信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_address")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_address")]
|
||||||
|
public Types.Address Address { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店经营信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_business")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_business")]
|
||||||
|
public Types.Business Business { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店收款信息列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_recipient")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_recipient")]
|
||||||
|
public Types.Recipient[] RecipientList { get; set; } = default!;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [PATCH] /brand/partner/store/brandstores/{store_id} 接口的请求。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class ModifyBrandPartnerStoreRequest : WechatTenpayRequest
|
||||||
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class Basic : CreateBrandPartnerStoreRequest.Types.Basic
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Address : CreateBrandPartnerStoreRequest.Types.Address
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Business : CreateBrandPartnerStoreRequest.Types.Business
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
|
public string StoreId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置品牌 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("brand_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("brand_id")]
|
||||||
|
public string BrandId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店基础信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_basics")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_basics")]
|
||||||
|
public Types.Basic? Basic { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店地址信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_address")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_address")]
|
||||||
|
public Types.Address? Address { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店经营信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("store_business")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("store_business")]
|
||||||
|
public Types.Business? Business { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [PATCH] /brand/partner/store/brandstores/{store_id} 接口的响应。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class ModifyBrandPartnerStoreResponse : GetBrandPartnerStoreByStoreIdResponse
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [POST] /brand/partner/store/brandstores/{store_id}/unbindrecipient 接口的请求。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class UnbindBrandPartnerStoreRecipientRequest : WechatTenpayRequest
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
|
public string StoreId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置品牌 ID。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("brand_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("brand_id")]
|
||||||
|
public string BrandId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置门店收款商户号。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("mchid")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("mchid")]
|
||||||
|
public string MerchantId { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 [POST] /brand/partner/store/brandstores/{store_id}/unbindrecipient 接口的响应。</para>
|
||||||
|
/// </summary>
|
||||||
|
public class UnbindBrandPartnerStoreRecipientResponse : WechatTenpayResponse
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置解绑失败原因。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("failed_reason")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("failed_reason")]
|
||||||
|
public string? FailedReason { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"brand_id": "123456789",
|
||||||
|
"mchid": "1230000109",
|
||||||
|
"company_name": "腾讯科技(深圳)有限公司"
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"brand_id": "123456789",
|
||||||
|
"store_id": "1234567890123456",
|
||||||
|
"mchid": "1230000109",
|
||||||
|
"company_name": "腾讯科技(深圳)有限公司",
|
||||||
|
"recipient_state": "CONFIRMED"
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"brand_id": "123456789",
|
||||||
|
"store_basics": {
|
||||||
|
"store_reference_id": "MDL001",
|
||||||
|
"branch_name": "海岸城店"
|
||||||
|
},
|
||||||
|
"store_address": {
|
||||||
|
"address_code": "440305",
|
||||||
|
"address_detail": "深南大道10000号腾讯大厦1楼",
|
||||||
|
"address_complements": "地铁A口右侧100米",
|
||||||
|
"longitude": "112.63484",
|
||||||
|
"latitude": "37.75464"
|
||||||
|
},
|
||||||
|
"store_business": {
|
||||||
|
"service_phone": "0755-86013388",
|
||||||
|
"business_hours": "周一至周五 09:00-20:00"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"brand_id": "123456789",
|
||||||
|
"store_id": "1234567890123456",
|
||||||
|
"store_state": "OPEN",
|
||||||
|
"audit_state": "SUCCESS",
|
||||||
|
"review_reject_reason": "通过核实,您提交的电话错误,请核实手机号码或座机号码是否正确",
|
||||||
|
"store_basics": {
|
||||||
|
"store_reference_id": "MDL001",
|
||||||
|
"branch_name": "海岸城店"
|
||||||
|
},
|
||||||
|
"store_address": {
|
||||||
|
"address_code": "440305",
|
||||||
|
"address_detail": "深南大道10000号腾讯大厦1楼",
|
||||||
|
"address_complements": "地铁A口右侧100米",
|
||||||
|
"longitude": "112.63484",
|
||||||
|
"latitude": "37.75464"
|
||||||
|
},
|
||||||
|
"store_business": {
|
||||||
|
"service_phone": "0755-86013388",
|
||||||
|
"business_hours": "周一至周五 09:00-20:00"
|
||||||
|
},
|
||||||
|
"store_recipient": [
|
||||||
|
{
|
||||||
|
"mchid": "1230000109",
|
||||||
|
"company_name": "腾讯科技(深圳)有限公司",
|
||||||
|
"recipient_state": "CONFIRMED"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"brand_id": "123456789"
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"brand_id": "123456789",
|
||||||
|
"store_id": "1234567890123456",
|
||||||
|
"store_state": "OPEN",
|
||||||
|
"audit_state": "SUCCESS",
|
||||||
|
"review_reject_reason": "通过核实,您提交的电话错误,请核实手机号码或座机号码是否正确",
|
||||||
|
"store_basics": {
|
||||||
|
"store_reference_id": "MDL001",
|
||||||
|
"branch_name": "海岸城店"
|
||||||
|
},
|
||||||
|
"store_address": {
|
||||||
|
"address_code": "440305",
|
||||||
|
"address_detail": "深南大道10000号腾讯大厦1楼",
|
||||||
|
"address_complements": "地铁A口右侧100米",
|
||||||
|
"longitude": "112.63484",
|
||||||
|
"latitude": "37.75464"
|
||||||
|
},
|
||||||
|
"store_business": {
|
||||||
|
"service_phone": "0755-86013388",
|
||||||
|
"business_hours": "周一至周五 09:00-20:00"
|
||||||
|
},
|
||||||
|
"store_recipient": [
|
||||||
|
{
|
||||||
|
"mchid": "1230000109",
|
||||||
|
"company_name": "腾讯科技(深圳)有限公司",
|
||||||
|
"recipient_state": "CONFIRMED"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"brand_id": "123456789",
|
||||||
|
"store_basics": {
|
||||||
|
"store_reference_id": "MDL001",
|
||||||
|
"branch_name": "海岸城店"
|
||||||
|
},
|
||||||
|
"store_address": {
|
||||||
|
"address_code": "440305",
|
||||||
|
"address_detail": "深南大道10000号腾讯大厦1楼",
|
||||||
|
"address_complements": "地铁A口右侧100米",
|
||||||
|
"longitude": "112.63484",
|
||||||
|
"latitude": "37.75464"
|
||||||
|
},
|
||||||
|
"store_business": {
|
||||||
|
"service_phone": "0755-86013388",
|
||||||
|
"business_hours": "周一至周五 09:00-20:00"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"brand_id": "123456789",
|
||||||
|
"store_id": "1234567890123456",
|
||||||
|
"store_state": "OPEN",
|
||||||
|
"audit_state": "SUCCESS",
|
||||||
|
"review_reject_reason": "通过核实,您提交的电话错误,请核实手机号码或座机号码是否正确",
|
||||||
|
"store_basics": {
|
||||||
|
"store_reference_id": "MDL001",
|
||||||
|
"branch_name": "海岸城店"
|
||||||
|
},
|
||||||
|
"store_address": {
|
||||||
|
"address_code": "440305",
|
||||||
|
"address_detail": "深南大道10000号腾讯大厦1楼",
|
||||||
|
"address_complements": "地铁A口右侧100米",
|
||||||
|
"longitude": "112.63484",
|
||||||
|
"latitude": "37.75464"
|
||||||
|
},
|
||||||
|
"store_business": {
|
||||||
|
"service_phone": "0755-86013388",
|
||||||
|
"business_hours": "周一至周五 09:00-20:00"
|
||||||
|
},
|
||||||
|
"store_recipient": [
|
||||||
|
{
|
||||||
|
"mchid": "1230000109",
|
||||||
|
"company_name": "腾讯科技(深圳)有限公司",
|
||||||
|
"recipient_state": "CONFIRMED"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"brand_id": "123456789",
|
||||||
|
"mchid": "1230000109"
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"failed_reason": "example_failed_reason"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user