@@ -5856,6 +5856,104 @@ public static class WechatApiClientExecuteChannelsExtensions
58565856 #endregion
58575857 #endregion
58585858
5859+ #region ECTalent
5860+ #region ECTalent/Order
5861+ /// <summary>
5862+ /// <para>异步调用 [POST] /channels/ec/talent/get_order_list 接口。</para>
5863+ /// <para>
5864+ /// REF: <br/>
5865+ /// <![CDATA[ https://developers.weixin.qq.com/doc/store/talent/openapi/order/get_order_list.html ]]>
5866+ /// </para>
5867+ /// </summary>
5868+ /// <param name="client"></param>
5869+ /// <param name="request"></param>
5870+ /// <param name="cancellationToken"></param>
5871+ /// <returns></returns>
5872+ public static async Task < Models . ChannelsECTalentGetOrderListResponse > ExecuteChannelsECTalentGetOrderListAsync ( this WechatApiClient client , Models . ChannelsECTalentGetOrderListRequest request , CancellationToken cancellationToken = default )
5873+ {
5874+ if ( client is null ) throw new ArgumentNullException ( nameof ( client ) ) ;
5875+ if ( request is null ) throw new ArgumentNullException ( nameof ( request ) ) ;
5876+
5877+ IFlurlRequest flurlReq = client
5878+ . CreateFlurlRequest ( request , HttpMethod . Post , "channels" , "ec" , "talent" , "get_order_list" )
5879+ . SetQueryParam ( "access_token" , request . AccessToken ) ;
5880+
5881+ return await client . SendFlurlRequestAsJsonAsync < Models . ChannelsECTalentGetOrderListResponse > ( flurlReq , data : request , cancellationToken : cancellationToken ) . ConfigureAwait ( false ) ;
5882+ }
5883+
5884+ /// <summary>
5885+ /// <para>异步调用 [POST] /channels/ec/talent/get_order_detail 接口。</para>
5886+ /// <para>
5887+ /// REF: <br/>
5888+ /// <![CDATA[ https://developers.weixin.qq.com/doc/store/talent/openapi/order/get_order_detail.html ]]>
5889+ /// </para>
5890+ /// </summary>
5891+ /// <param name="client"></param>
5892+ /// <param name="request"></param>
5893+ /// <param name="cancellationToken"></param>
5894+ /// <returns></returns>
5895+ public static async Task < Models . ChannelsECTalentGetOrderDetailResponse > ExecuteChannelsECTalentGetOrderDetailAsync ( this WechatApiClient client , Models . ChannelsECTalentGetOrderDetailRequest request , CancellationToken cancellationToken = default )
5896+ {
5897+ if ( client is null ) throw new ArgumentNullException ( nameof ( client ) ) ;
5898+ if ( request is null ) throw new ArgumentNullException ( nameof ( request ) ) ;
5899+
5900+ IFlurlRequest flurlReq = client
5901+ . CreateFlurlRequest ( request , HttpMethod . Post , "channels" , "ec" , "talent" , "get_order_detail" )
5902+ . SetQueryParam ( "access_token" , request . AccessToken ) ;
5903+
5904+ return await client . SendFlurlRequestAsJsonAsync < Models . ChannelsECTalentGetOrderDetailResponse > ( flurlReq , data : request , cancellationToken : cancellationToken ) . ConfigureAwait ( false ) ;
5905+ }
5906+ #endregion
5907+
5908+ #region ECTalent/Window
5909+ /// <summary>
5910+ /// <para>异步调用 [POST] /channels/ec/talent/window/product/list/get 接口。</para>
5911+ /// <para>
5912+ /// REF: <br/>
5913+ /// <![CDATA[ https://developers.weixin.qq.com/doc/store/talent/openapi/window/get_product_list.html ]]>
5914+ /// </para>
5915+ /// </summary>
5916+ /// <param name="client"></param>
5917+ /// <param name="request"></param>
5918+ /// <param name="cancellationToken"></param>
5919+ /// <returns></returns>
5920+ public static async Task < Models . ChannelsECTalentWindowProductListGetResponse > ExecuteChannelsECTalentWindowProductListGetAsync ( this WechatApiClient client , Models . ChannelsECTalentWindowProductListGetRequest request , CancellationToken cancellationToken = default )
5921+ {
5922+ if ( client is null ) throw new ArgumentNullException ( nameof ( client ) ) ;
5923+ if ( request is null ) throw new ArgumentNullException ( nameof ( request ) ) ;
5924+
5925+ IFlurlRequest flurlReq = client
5926+ . CreateFlurlRequest ( request , HttpMethod . Post , "channels" , "ec" , "talent" , "window" , "product" , "list" , "get" )
5927+ . SetQueryParam ( "access_token" , request . AccessToken ) ;
5928+
5929+ return await client . SendFlurlRequestAsJsonAsync < Models . ChannelsECTalentWindowProductListGetResponse > ( flurlReq , data : request , cancellationToken : cancellationToken ) . ConfigureAwait ( false ) ;
5930+ }
5931+
5932+ /// <summary>
5933+ /// <para>异步调用 [POST] /channels/ec/talent/window/product/get 接口。</para>
5934+ /// <para>
5935+ /// REF: <br/>
5936+ /// <![CDATA[ https://developers.weixin.qq.com/doc/store/talent/openapi/window/get_product_detail.html ]]>
5937+ /// </para>
5938+ /// </summary>
5939+ /// <param name="client"></param>
5940+ /// <param name="request"></param>
5941+ /// <param name="cancellationToken"></param>
5942+ /// <returns></returns>
5943+ public static async Task < Models . ChannelsECTalentWindowProductGetResponse > ExecuteChannelsECTalentWindowProductGetAsync ( this WechatApiClient client , Models . ChannelsECTalentWindowProductGetRequest request , CancellationToken cancellationToken = default )
5944+ {
5945+ if ( client is null ) throw new ArgumentNullException ( nameof ( client ) ) ;
5946+ if ( request is null ) throw new ArgumentNullException ( nameof ( request ) ) ;
5947+
5948+ IFlurlRequest flurlReq = client
5949+ . CreateFlurlRequest ( request , HttpMethod . Post , "channels" , "ec" , "talent" , "window" , "product" , "get" )
5950+ . SetQueryParam ( "access_token" , request . AccessToken ) ;
5951+
5952+ return await client . SendFlurlRequestAsJsonAsync < Models . ChannelsECTalentWindowProductGetResponse > ( flurlReq , data : request , cancellationToken : cancellationToken ) . ConfigureAwait ( false ) ;
5953+ }
5954+ #endregion
5955+ #endregion
5956+
58595957 #region ECVoucher
58605958 #region ECVoucher/Bill
58615959 /// <summary>
0 commit comments