diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentAuthorizedEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentAuthorizedEvent.cs
index 485880ce..44c2ee72 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentAuthorizedEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentAuthorizedEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 INFO.authorized 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/token/authorize_event.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/authorize_event.html
///
public class ComponentAuthorizedEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUnauthorizedEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUnauthorizedEvent.cs
index dd731211..d7080a33 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUnauthorizedEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUnauthorizedEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 INFO.unauthorized 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/token/authorize_event.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/authorize_event.html
///
public class ComponentUnauthorizedEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUpdateAuthorizedEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUpdateAuthorizedEvent.cs
index 38ba0c7e..28d30a35 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUpdateAuthorizedEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUpdateAuthorizedEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 INFO.unauthorized 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/token/authorize_event.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/authorize_event.html
///
public class ComponentUpdateAuthorizedEvent : ComponentAuthorizedEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentVerifyTicketEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentVerifyTicketEvent.cs
index 87a3438c..0959245d 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentVerifyTicketEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentVerifyTicketEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 INFO.component_verify_ticket 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/token/component_verify_ticket.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/component_verify_ticket.html
///
public class ComponentVerifyTicketEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterEvent.cs
index c3b93492..3929e427 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterEvent.cs
@@ -2,7 +2,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 INFO.notify_third_fasteregister 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Register_Mini_Programs/Fast_Registration_Interface_document.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ent/registerMiniprogram.html
/// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ind/fastRegisterPersonalMp.html
///
public class NotifyThirdFastRegisterEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastVerifyBetaAppEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastVerifyBetaAppEvent.cs
index 3562af9b..1f292167 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastVerifyBetaAppEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastVerifyBetaAppEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 INFO.notify_third_fastverifybetaapp 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/beta_Mini_Programs/fastverify.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-regist-beta/verfifyBetaMiniprogram.html
///
public class NotifyThirdFastVerifyBetaAppEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditDelayEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditDelayEvent.cs
index e4c6c798..1690dc74 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditDelayEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditDelayEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 EVENT.weapp_audit_delay 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/audit_event.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/submitAudit.html
///
public class WeappAuditDelayEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditFailEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditFailEvent.cs
index 9569e87d..4f5e4d97 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditFailEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditFailEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 EVENT.weapp_audit_fail 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/audit_event.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/submitAudit.html
///
public class WeappAuditFailEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditSuccessEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditSuccessEvent.cs
index 73c30d83..9e698a40 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditSuccessEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditSuccessEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 EVENT.weapp_audit_success 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/audit_event.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/submitAudit.html
///
public class WeappAuditSuccessEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaAppealRecordEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaAppealRecordEvent.cs
index 41a7a8b0..7d4db5fc 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaAppealRecordEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaAppealRecordEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 EVENT.wxa_appeal_record 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/records/record_event.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/record-management/getAppealRecords.html
///
public class WxaAppealRecordEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaCategoryAuditEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaCategoryAuditEvent.cs
index 9f6ed03c..f30ccc3a 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaCategoryAuditEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaCategoryAuditEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 EVENT.wxa_category_audit 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/category/wxa_category_audit.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/category-management/addCategory.html
///
public class WxaCategoryAuditEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaNicknameAuditEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaNicknameAuditEvent.cs
index 16c33ab5..a5c75380 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaNicknameAuditEvent.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaNicknameAuditEvent.cs
@@ -1,8 +1,8 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
{
///
/// 表示 EVENT.wxa_nickname_audit 事件的数据。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Mini_Program_Basic_Info/wxa_nickname_audit.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/basic-info-management/setNickName.html
///
public class WxaNicknameAuditEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
{
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinAccountExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinAccountExtensions.cs
index 1b27cc8c..955c016f 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinAccountExtensions.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinAccountExtensions.cs
@@ -11,7 +11,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
{
///
/// 异步调用 [POST] /cgi-bin/account/fastregister 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Register_Mini_Programs/fast_registration_of_mini_program.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-officalaccount/registerMiniprogramByOffiaccount.html
///
///
///
@@ -31,7 +31,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/account/componentrebindadmin 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Register_Mini_Programs/fast_registration_of_mini_program.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/product/Register_Mini_Programs/fast_registration_of_mini_program.html
///
///
///
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinComponentExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinComponentExtensions.cs
index 21675dee..dd30469c 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinComponentExtensions.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinComponentExtensions.cs
@@ -222,7 +222,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/component/fastregisterweapp?action=create 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Register_Mini_Programs/Fast_Registration_Interface_document.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ent/registerMiniprogram.html
///
///
///
@@ -243,7 +243,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/component/fastregisterweapp?action=search 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Register_Mini_Programs/Fast_Registration_Interface_document.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ent/registerMiniprogram.html
///
///
///
@@ -262,51 +262,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
}
- ///
- /// 异步调用 [POST] /cgi-bin/component/fastregisterpersonalweapp?action=create 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ind/fastRegisterPersonalMp.html
- ///
- ///
- ///
- ///
- ///
- public static async Task ExecuteCgibinComponentFastRegisterPersonalWeappCreateAsync(this WechatApiClient client, Models.CgibinComponentFastRegisterPersonalWeappCreateRequest 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
- .CreateRequest(request, HttpMethod.Post, "cgi-bin", "component", "fastregisterpersonalweapp")
- .SetQueryParam("action", "create")
- .SetQueryParam("component_access_token", request.ComponentAccessToken);
-
- return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
- }
-
- ///
- /// 异步调用 [POST] /cgi-bin/component/fastregisterpersonalweapp?action=query 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ind/fastRegisterPersonalMp.html
- ///
- ///
- ///
- ///
- ///
- public static async Task ExecuteCgibinComponentFastRegisterPersonalWeappQueryAsync(this WechatApiClient client, Models.CgibinComponentFastRegisterPersonalWeappQueryRequest 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
- .CreateRequest(request, HttpMethod.Post, "cgi-bin", "component", "fastregisterpersonalweapp")
- .SetQueryParam("action", "query")
- .SetQueryParam("component_access_token", request.ComponentAccessToken);
-
- return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
- }
-
///
/// 异步调用 [POST] /cgi-bin/component/modify_wxa_server_domain 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/domain/modify_server_domain.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/thirdparty-management/domain-mgnt/modifyThirdpartyServerDomain.html
///
///
///
@@ -326,7 +284,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/component/get_domain_confirmfile 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/domain/get_domain_confirmfile.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/thirdparty-management/domain-mgnt/getThirdpartyJumpDomainConfirmFile.html
///
///
///
@@ -346,7 +304,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/component/modify_wxa_jump_domain 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/domain/modify_jump_domain.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/thirdparty-management/domain-mgnt/modifyThirdpartyJumpDomain.html
///
///
///
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinOpenApiExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinOpenApiExtensions.cs
index 374fb3e1..b8fa1d26 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinOpenApiExtensions.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinOpenApiExtensions.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
@@ -12,7 +12,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/clear_quota 接口。
/// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/API_Call_Limits.html
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/openApi/clear_quota.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openapi/clearQuota.html
+ /// REF: https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/openApi-mgnt/clearQuota.html
///
///
///
@@ -36,7 +37,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/openapi/quota/get 接口。
/// REF: https://developers.weixin.qq.com/doc/offiaccount/openApi/get_api_quota.html
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/openApi/get_api_quota.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openapi/getApiQuota.html
+ /// REF: https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/openApi-mgnt/getApiQuota.html
///
///
///
@@ -57,7 +59,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/openapi/rid/get 接口。
/// REF: https://developers.weixin.qq.com/doc/offiaccount/openApi/get_rid_info.html
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/openApi/get_rid_info.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openapi/getRidInfo.html
+ /// REF: https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/openApi-mgnt/getRidInfo.html
///
///
///
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinOpenExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinOpenExtensions.cs
index 2ebd44bd..ad2fd1c9 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinOpenExtensions.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteCgibinOpenExtensions.cs
@@ -11,7 +11,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
{
///
/// 异步调用 [POST] /cgi-bin/open/create 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/account/create.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openplatform-management/createOpenAccount.html
///
///
///
@@ -51,7 +51,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/open/bind 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/account/bind.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openplatform-management/bindOpenAccount.html
///
///
///
@@ -71,7 +71,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/open/unbind 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/account/unbind.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openplatform-management/unbindOpenAccount.html
///
///
///
@@ -91,7 +91,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /cgi-bin/open/get 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/account/get.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openplatform-management/getOpenAccount.html
///
///
///
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaComponentExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaComponentExtensions.cs
index 5cb927df..e4274f05 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaComponentExtensions.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaComponentExtensions.cs
@@ -317,7 +317,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /wxa/component/fastregisterbetaweapp 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/beta_Mini_Programs/fastregister.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-regist-beta/registerBetaMiniprogram.html
///
///
///
@@ -335,9 +335,51 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
}
+ ///
+ /// 异步调用 [POST] /wxa/component/fastregisterpersonalweapp?action=create 接口。
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ind/fastRegisterPersonalMp.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteWxaComponentFastRegisterPersonalWeappCreateAsync(this WechatApiClient client, Models.WxaComponentFastRegisterPersonalWeappCreateRequest 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
+ .CreateRequest(request, HttpMethod.Post, "wxa", "component", "fastregisterpersonalweapp")
+ .SetQueryParam("action", "create")
+ .SetQueryParam("component_access_token", request.ComponentAccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+
+ ///
+ /// 异步调用 [POST] /wxa/component/fastregisterpersonalweapp?action=query 接口。
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ind/fastRegisterPersonalMp.html
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteWxaComponentFastRegisterPersonalWeappQueryAsync(this WechatApiClient client, Models.WxaComponentFastRegisterPersonalWeappQueryRequest 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
+ .CreateRequest(request, HttpMethod.Post, "wxa", "component", "fastregisterpersonalweapp")
+ .SetQueryParam("action", "query")
+ .SetQueryParam("component_access_token", request.ComponentAccessToken);
+
+ return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken);
+ }
+
///
/// 异步调用 [POST] /wxa/verifybetaweapp 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/beta_Mini_Programs/fastverify.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-regist-beta/verfifyBetaMiniprogram.html
///
///
///
@@ -357,7 +399,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /wxa/setbetaweappnickname 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/beta_Mini_Programs/fastmodify.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-regist-beta/modifyBetaMiniprogramNickName.html
///
///
///
@@ -419,7 +461,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
#region Template
///
/// 异步调用 [GET] /wxa/gettemplatedraftlist 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/code_template/gettemplatedraftlist.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/thirdparty-management/template-management/getTemplatedRaftList.html
///
///
///
@@ -439,7 +481,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /wxa/addtotemplate 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/code_template/addtotemplate.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/thirdparty-management/template-management/addToTemplate.html
///
///
///
@@ -459,7 +501,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [GET] /wxa/gettemplatelist 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/code_template/gettemplatelist.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/thirdparty-management/template-management/getTemplateList.html
///
///
///
@@ -479,7 +521,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
///
/// 异步调用 [POST] /wxa/deletetemplate 接口。
- /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/code_template/deletetemplate.html
+ /// REF: https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/thirdparty-management/template-management/deleteTemplate.html
///
///
///
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappQueryResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappQueryResponse.cs
deleted file mode 100644
index 54ccb8a2..00000000
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappQueryResponse.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace SKIT.FlurlHttpClient.Wechat.Api.Models
-{
- ///
- /// 表示 [POST] /cgi-bin/component/fastregisterpersonalweapp?action=query 接口的响应。
- ///
- public class CgibinComponentFastRegisterPersonalWeappQueryResponse : CgibinComponentFastRegisterPersonalWeappCreateResponse
- {
- }
-}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappCreateRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappCreateRequest.cs
similarity index 78%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappCreateRequest.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappCreateRequest.cs
index 21d76e05..6d3d9ba0 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappCreateRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappCreateRequest.cs
@@ -1,9 +1,9 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
///
- /// 表示 [POST] /cgi-bin/component/fastregisterpersonalweapp?action=create 接口的请求。
+ /// 表示 [POST] /wxa/component/fastregisterpersonalweapp?action=create 接口的请求。
///
- public class CgibinComponentFastRegisterPersonalWeappCreateRequest : WechatApiRequest, IInferable
+ public class WxaComponentFastRegisterPersonalWeappCreateRequest : WechatApiRequest, IInferable
{
///
/// 获取或设置第三方平台 AccessToken。
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappCreateResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappCreateResponse.cs
similarity index 81%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappCreateResponse.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappCreateResponse.cs
index adbcf939..ad1c85e7 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappCreateResponse.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappCreateResponse.cs
@@ -1,9 +1,9 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
///
- /// 表示 [POST] /cgi-bin/component/fastregisterpersonalweapp?action=create 接口的响应。
+ /// 表示 [POST] /wxa/component/fastregisterpersonalweapp?action=create 接口的响应。
///
- public class CgibinComponentFastRegisterPersonalWeappCreateResponse : WechatApiResponse
+ public class WxaComponentFastRegisterPersonalWeappCreateResponse : WechatApiResponse
{
///
/// 获取或设置任务 ID。
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappQueryRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappQueryRequest.cs
similarity index 66%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappQueryRequest.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappQueryRequest.cs
index 83cbab62..bc310cd8 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinComponent/CgibinComponentFastRegisterPersonalWeappQueryRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappQueryRequest.cs
@@ -1,9 +1,9 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
///
- /// 表示 [POST] /cgi-bin/component/fastregisterpersonalweapp?action=query 接口的请求。
+ /// 表示 [POST] /wx/component/fastregisterpersonalweapp?action=query 接口的请求。
///
- public class CgibinComponentFastRegisterPersonalWeappQueryRequest : WechatApiRequest, IInferable
+ public class WxaComponentFastRegisterPersonalWeappQueryRequest : WechatApiRequest, IInferable
{
///
/// 获取或设置第三方平台 AccessToken。
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappQueryResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappQueryResponse.cs
new file mode 100644
index 00000000..6540618f
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappQueryResponse.cs
@@ -0,0 +1,9 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /wxa/component/fastregisterpersonalweapp?action=query 接口的响应。
+ ///
+ public class WxaComponentFastRegisterPersonalWeappQueryResponse : WxaComponentFastRegisterPersonalWeappCreateResponse
+ {
+ }
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinComponent/CgibinComponentFastRegisterPersonalWeappCreateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappCreateRequest.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinComponent/CgibinComponentFastRegisterPersonalWeappCreateRequest.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappCreateRequest.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinComponent/CgibinComponentFastRegisterPersonalWeappCreateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappCreateResponse.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinComponent/CgibinComponentFastRegisterPersonalWeappCreateResponse.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappCreateResponse.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinComponent/CgibinComponentFastRegisterPersonalWeappQueryRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappQueryRequest.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinComponent/CgibinComponentFastRegisterPersonalWeappQueryRequest.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappQueryRequest.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinComponent/CgibinComponentFastRegisterPersonalWeappQueryResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappQueryResponse.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/CgibinComponent/CgibinComponentFastRegisterPersonalWeappQueryResponse.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Register/WxaComponentFastRegisterPersonalWeappQueryResponse.json