diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardMerchantCheckResultEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardMerchantCheckResultEvent.cs index 9ba2899e..f79178cb 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardMerchantCheckResultEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardMerchantCheckResultEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.card_merchant_check_result 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Third-party_developer_mode.html#2 /// - public class CardMerchantCheckResultEvent : CardPassCheckEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class CardMerchantCheckResultEvent : CardPassCheckEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置子商户 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardNotPassCheckEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardNotPassCheckEvent.cs index 410daabd..db455d71 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardNotPassCheckEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardNotPassCheckEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.card_not_pass_check 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#1 /// - public class CardNotPassCheckEvent : CardPassCheckEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class CardNotPassCheckEvent : CardPassCheckEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置审核不通过原因。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardPassCheckEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardPassCheckEvent.cs index a891e841..0b79240b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardPassCheckEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardPassCheckEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.card_pass_check 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#1 /// - public class CardPassCheckEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class CardPassCheckEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardSKURemindEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardSKURemindEvent.cs index cfb48c0a..85fa5ce1 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardSKURemindEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/CardSKURemindEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.card_sku_remind 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#10 /// - public class CardSKURemindEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class CardSKURemindEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardPayDoneEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardPayDoneEvent.cs index b92ac319..c6493da6 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardPayDoneEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardPayDoneEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.giftcard_pay_done 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html#_10-1%E3%80%81%E7%94%A8%E6%88%B7%E8%B4%AD%E4%B9%B0%E7%A4%BC%E5%93%81%E5%8D%A1%E4%BB%98%E6%AC%BE%E6%88%90%E5%8A%9FCallBack /// - public class GiftCardPayDoneEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class GiftCardPayDoneEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置货架 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardSendToFriendEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardSendToFriendEvent.cs index 18f106a3..316636d1 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardSendToFriendEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardSendToFriendEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.giftcard_send_to_friend 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html#_10-2%E3%80%81%E7%94%A8%E6%88%B7%E8%B4%AD%E4%B9%B0%E5%90%8E%E8%B5%A0%E9%80%81CallBack /// - public class GiftCardSendToFriendEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class GiftCardSendToFriendEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置货架 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardUserAcceptEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardUserAcceptEvent.cs index 7f26fb10..b8656e1e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardUserAcceptEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/GiftCardUserAcceptEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.giftcard_user_accept 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html#_10-3%E3%80%81%E7%94%A8%E6%88%B7%E9%A2%86%E5%8F%96%E7%A4%BC%E5%93%81%E5%8D%A1%E6%88%90%E5%8A%9FCallBack /// - public class GiftCardUserAcceptEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class GiftCardUserAcceptEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置货架 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/OrderStatusFinanceSuccessEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/OrderStatusFinanceSuccessEvent.cs index 4145eef0..d6c75ce8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/OrderStatusFinanceSuccessEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/OrderStatusFinanceSuccessEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.ORDER_STATUS_FINANCE_SUCC 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#11 /// - public class OrderStatusFinanceSuccessEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class OrderStatusFinanceSuccessEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置订单号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/SubmitMemberCardUserInfoEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/SubmitMemberCardUserInfoEvent.cs index 2940f0a5..569b81dd 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/SubmitMemberCardUserInfoEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/SubmitMemberCardUserInfoEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.submit_membercard_user_info 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#12 /// - public class SubmitMemberCardUserInfoEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class SubmitMemberCardUserInfoEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UpdateMemberCardEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UpdateMemberCardEvent.cs index d37a01a8..fd734809 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UpdateMemberCardEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UpdateMemberCardEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.update_member_card 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#9 /// - public class UpdateMemberCardEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UpdateMemberCardEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserConsumeCardEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserConsumeCardEvent.cs index 29b6f9e0..21ef4ac8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserConsumeCardEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserConsumeCardEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.user_consume_card 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#5 /// - public class UserConsumeCardEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UserConsumeCardEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserDeleteCardEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserDeleteCardEvent.cs index 60da5bdc..f7cf6bfc 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserDeleteCardEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserDeleteCardEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.user_del_card 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#4 /// - public class UserDeleteCardEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UserDeleteCardEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserEnterSessionFromCardEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserEnterSessionFromCardEvent.cs index 2d79ce4b..9340b6c0 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserEnterSessionFromCardEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserEnterSessionFromCardEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.user_enter_session_from_card 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#8 /// - public class UserEnterSessionFromCardEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UserEnterSessionFromCardEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserGetCardEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserGetCardEvent.cs index 4cc95a51..5256b6ee 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserGetCardEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserGetCardEvent.cs @@ -10,7 +10,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Create_a_membership_card.html#13 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html#_10-4%E3%80%81%E8%B5%A0%E9%80%8124%E5%B0%8F%E6%97%B6%E5%AF%B9%E6%96%B9%E6%9C%AA%E9%A2%86%E5%8F%96%E9%80%80%E5%9B%9E%E5%90%8E%E7%9A%84%E4%BA%8B%E4%BB%B6 /// - public class UserGetCardEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UserGetCardEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserGiftingCardEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserGiftingCardEvent.cs index ec3bb724..fd62a707 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserGiftingCardEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserGiftingCardEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.user_gifting_card 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#3 /// - public class UserGiftingCardEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UserGiftingCardEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserPayFromPayCellEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserPayFromPayCellEvent.cs index 87f31baa..b250e9f1 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserPayFromPayCellEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserPayFromPayCellEvent.cs @@ -8,7 +8,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Create_a_Coupon_Voucher_or_Card.html#13 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#6 /// - public class UserPayFromPayCellEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UserPayFromPayCellEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserViewCardEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserViewCardEvent.cs index a211a984..7d67a77f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserViewCardEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Card/UserViewCardEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.user_view_card 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons_Vouchers_and_Cards_Event_Push_Messages.html#7 /// - public class UserViewCardEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UserViewCardEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/CloudInvoiceResultEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/CloudInvoiceResultEvent.cs index a4acb467..f29c40cf 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/CloudInvoiceResultEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/CloudInvoiceResultEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.cloud_invoice_invoiceresult_event 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Vendor_API_List.html#19 /// - public class CloudInvoiceResultEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class CloudInvoiceResultEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置开票状态码。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/SubmitInvoiceTitleEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/SubmitInvoiceTitleEvent.cs index 3835368d..5e50b026 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/SubmitInvoiceTitleEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/SubmitInvoiceTitleEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.submit_invoice_title 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/Quick_issuing/Interface_Instructions.html /// - public class SubmitInvoiceTitleEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class SubmitInvoiceTitleEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置发票抬头类型。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/UpdateInvoiceStatusEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/UpdateInvoiceStatusEvent.cs index ecefd399..ce872980 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/UpdateInvoiceStatusEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/UpdateInvoiceStatusEvent.cs @@ -8,7 +8,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// REF: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Invoicing_Platform_API_List.html#7 /// REF: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/Nontax_Bill/API_list.html#3.6 /// - public class UpdateInvoiceStatusEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UpdateInvoiceStatusEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置发票或非税票据卡券模板编号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/UserAuthorizeInvoiceEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/UserAuthorizeInvoiceEvent.cs index 5b77b12b..717d5324 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/UserAuthorizeInvoiceEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/CardInvoice/UserAuthorizeInvoiceEvent.cs @@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// REF: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Vendor_API_List.html#6 /// REF: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/Nontax_Bill/API_list.html#2.3 /// - public class UserAuthorizeInvoiceEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UserAuthorizeInvoiceEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置授权成功的订单号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Merchant/MerchantOrderEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Merchant/MerchantOrderEvent.cs index 9bbba5b9..a840d45a 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Merchant/MerchantOrderEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/Merchant/MerchantOrderEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.merchant_order 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#8 /// - public class MerchantOrderEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class MerchantOrderEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置订单号。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/AnnualRenewEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/AnnualRenewEvent.cs index fa5e5839..010380f0 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/AnnualRenewEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/AnnualRenewEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.annual_renew 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Account_Management/Wechat_Accreditation_Event_Push.html#4 /// - public class AnnualRenewEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class AnnualRenewEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置过期时间戳。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/NamingVerifyFailEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/NamingVerifyFailEvent.cs index 10eb0edc..6fcc032e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/NamingVerifyFailEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/NamingVerifyFailEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.naming_verify_fail 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Account_Management/Wechat_Accreditation_Event_Push.html#3 /// - public class NamingVerifyFailEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class NamingVerifyFailEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置失败时间戳。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/NamingVerifySuccessEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/NamingVerifySuccessEvent.cs index 59f3d08b..83b629db 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/NamingVerifySuccessEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/NamingVerifySuccessEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.naming_verify_success 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Account_Management/Wechat_Accreditation_Event_Push.html#2 /// - public class NamingVerifySuccessEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class NamingVerifySuccessEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置过期时间戳。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/QualificationVerifyFailEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/QualificationVerifyFailEvent.cs index fb7b433a..c6b2ba66 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/QualificationVerifyFailEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/QualificationVerifyFailEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.qualification_verify_fail 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Account_Management/Wechat_Accreditation_Event_Push.html#1 /// - public class QualificationVerifyFailEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class QualificationVerifyFailEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置失败时间戳。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/QualificationVerifySuccessEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/QualificationVerifySuccessEvent.cs index fe28d737..300f2081 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/QualificationVerifySuccessEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/QualificationVerifySuccessEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.qualification_verify_success 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Account_Management/Wechat_Accreditation_Event_Push.html#0 /// - public class QualificationVerifySuccessEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class QualificationVerifySuccessEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置过期时间戳。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/VerifyExpiredEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/VerifyExpiredEvent.cs index b4d3013b..138a3293 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/VerifyExpiredEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpAccreditation/VerifyExpiredEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.verify_expired 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Account_Management/Wechat_Accreditation_Event_Push.html#5 /// - public class VerifyExpiredEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class VerifyExpiredEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置过期时间戳。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpGuide/GuideQrcodeScanEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpGuide/GuideQrcodeScanEvent.cs index 67d044e6..69449edf 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpGuide/GuideQrcodeScanEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpGuide/GuideQrcodeScanEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.guide_qrcode_scan_event 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.onGuideCreateQrCode.html /// - public class GuideQrcodeScanEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class GuideQrcodeScanEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class Data { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpJob/MassSendJobFinishEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpJob/MassSendJobFinishEvent.cs index 90c6eda9..29a50d5e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpJob/MassSendJobFinishEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpJob/MassSendJobFinishEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.MASSSENDJOBFINISH 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html#7 /// - public class MassSendJobFinishEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class MassSendJobFinishEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置消息 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpJob/TemplateSendJobFinishEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpJob/TemplateSendJobFinishEvent.cs index ccc6c678..3de14ea8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpJob/TemplateSendJobFinishEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpJob/TemplateSendJobFinishEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.TEMPLATESENDJOBFINISH 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html#%E4%BA%8B%E4%BB%B6%E6%8E%A8%E9%80%81 /// - public class TemplateSendJobFinishEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class TemplateSendJobFinishEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置消息 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/ImageMessageEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/ImageMessageEvent.cs index d3bb66e2..cc3425d2 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/ImageMessageEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/ImageMessageEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 IMAGE 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_standard_messages.html#%E5%9B%BE%E7%89%87%E6%B6%88%E6%81%AF /// - public class ImageMessageEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class ImageMessageEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置消息 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/LocationMessageEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/LocationMessageEvent.cs index ae7bd114..cc218fdc 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/LocationMessageEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/LocationMessageEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 LOCATION 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_standard_messages.html#%E5%9C%B0%E7%90%86%E4%BD%8D%E7%BD%AE%E6%B6%88%E6%81%AF /// - public class LocationMessageEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class LocationMessageEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置消息 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/ShortVideoMessageEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/ShortVideoMessageEvent.cs index c57ac8ab..b4887d72 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/ShortVideoMessageEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/ShortVideoMessageEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 SHORTVIDEO 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_standard_messages.html#%E5%B0%8F%E8%A7%86%E9%A2%91%E6%B6%88%E6%81%AF /// - public class ShortVideoMessageEvent : VideoMessageEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class ShortVideoMessageEvent : VideoMessageEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/TextMessageEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/TextMessageEvent.cs index 007c7847..5de04690 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/TextMessageEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/TextMessageEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 TEXT 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_standard_messages.html#%E6%96%87%E6%9C%AC%E6%B6%88%E6%81%AF /// - public class TextMessageEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class TextMessageEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置消息 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/VideoMessageEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/VideoMessageEvent.cs index c4fdc94a..70adfb6b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/VideoMessageEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/VideoMessageEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 VIDEO 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_standard_messages.html#%E8%A7%86%E9%A2%91%E6%B6%88%E6%81%AF /// - public class VideoMessageEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class VideoMessageEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置消息 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/VoiceMessageEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/VoiceMessageEvent.cs index f15d14cc..ebe82208 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/VoiceMessageEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpMessage/VoiceMessageEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 VOICE 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_standard_messages.html#%E8%AF%AD%E9%9F%B3%E6%B6%88%E6%81%AF /// - public class VoiceMessageEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class VoiceMessageEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置消息 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ClickPushEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ClickPushEvent.cs index e7ad7c91..9ce72dc8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ClickPushEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ClickPushEvent.cs @@ -8,7 +8,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E8%8F%9C%E5%8D%95%E4%BA%8B%E4%BB%B6 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Custom_Menu_Push_Events.html#0 /// - public class ClickPushEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class ClickPushEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置事件 Key,即自定义菜单接口中的 Key 值。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/LocationPushEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/LocationPushEvent.cs index 60123113..d6dd5212 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/LocationPushEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/LocationPushEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.LOCATION 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.html#%E4%B8%8A%E6%8A%A5%E5%9C%B0%E7%90%86%E4%BD%8D%E7%BD%AE%E4%BA%8B%E4%BB%B6 /// - public class LocationPushEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class LocationPushEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置地理位置纬度。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ScanCodePushEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ScanCodePushEvent.cs index ca5e22b6..6ff8d1db 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ScanCodePushEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ScanCodePushEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.scancode_push 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Custom_Menu_Push_Events.html#2 /// - public class ScanCodePushEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class ScanCodePushEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class ScanCode { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ScanPushEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ScanPushEvent.cs index 636d4f15..795c2bce 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ScanPushEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ScanPushEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.SCAN 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.html#%E6%89%AB%E6%8F%8F%E5%B8%A6%E5%8F%82%E6%95%B0%E4%BA%8C%E7%BB%B4%E7%A0%81%E4%BA%8B%E4%BB%B6 /// - public class ScanPushEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class ScanPushEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置事件 Key,即创建二维码时的 SceneId。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/SubscribePushEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/SubscribePushEvent.cs index e368d76d..d5d8bf5e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/SubscribePushEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/SubscribePushEvent.cs @@ -8,7 +8,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.html#%E5%85%B3%E6%B3%A8-%E5%8F%96%E6%B6%88%E5%85%B3%E6%B3%A8%E4%BA%8B%E4%BB%B6 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.html#%E6%89%AB%E6%8F%8F%E5%B8%A6%E5%8F%82%E6%95%B0%E4%BA%8C%E7%BB%B4%E7%A0%81%E4%BA%8B%E4%BB%B6 /// - public class SubscribePushEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class SubscribePushEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置事件 Key,即创建二维码时的 SceneId。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/UnsubscribePushEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/UnsubscribePushEvent.cs index 6fd63b44..969e07be 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/UnsubscribePushEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/UnsubscribePushEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.unsubscribe 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.html#%E5%85%B3%E6%B3%A8-%E5%8F%96%E6%B6%88%E5%85%B3%E6%B3%A8%E4%BA%8B%E4%BB%B6 /// - public class UnsubscribePushEvent : SubscribePushEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UnsubscribePushEvent : SubscribePushEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ViewMiniProgramPushEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ViewMiniProgramPushEvent.cs index 58d36337..faf6e56f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ViewMiniProgramPushEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ViewMiniProgramPushEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.view_miniprogram 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Custom_Menu_Push_Events.html#8 /// - public class ViewMiniProgramPushEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class ViewMiniProgramPushEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置个性化菜单 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ViewPushEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ViewPushEvent.cs index 453e10b9..0f48b5df 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ViewPushEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpPush/ViewPushEvent.cs @@ -8,7 +8,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E8%8F%9C%E5%8D%95%E4%BA%8B%E4%BB%B6 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Custom_Menu_Push_Events.html#1 /// - public class ViewPushEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class ViewPushEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置个性化菜单 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/ImageMessageReply.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/ImageMessageReply.cs index fe0a0138..3d946555 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/ImageMessageReply.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/ImageMessageReply.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示被动回复图片消息的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Passive_user_reply_message.html#1 /// - public class ImageMessageReply : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class ImageMessageReply : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class Image { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/MusicMessageReply.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/MusicMessageReply.cs index 7d209c1b..b8e652da 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/MusicMessageReply.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/MusicMessageReply.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示被动回复音乐消息的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Passive_user_reply_message.html#4 /// - public class MusicMessageReply : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class MusicMessageReply : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class Music { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/NewsMessageReply.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/NewsMessageReply.cs index f94fb1a7..5bf7a4c2 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/NewsMessageReply.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/NewsMessageReply.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示被动回复图文消息的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Passive_user_reply_message.html#5 /// - public class NewsMessageReply : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class NewsMessageReply : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class ArticleItem { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/TextMessageReply.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/TextMessageReply.cs index 48d7e515..aeab8e26 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/TextMessageReply.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/TextMessageReply.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示被动回复文本消息的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Passive_user_reply_message.html#0 /// - public class TextMessageReply : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class TextMessageReply : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置消息内容。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/TransferCustomerServiceReply.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/TransferCustomerServiceReply.cs index 7b3b6edc..7b6c114c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/TransferCustomerServiceReply.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/TransferCustomerServiceReply.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示被动回复转发消息的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Forwarding_of_messages_to_service_center.html /// - public class TransferCustomerServiceReply : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class TransferCustomerServiceReply : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class Transfer { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/VideoMessageReply.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/VideoMessageReply.cs index 9e0b0f5f..8ba2fc13 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/VideoMessageReply.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/VideoMessageReply.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示被动回复视频消息的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Passive_user_reply_message.html#3 /// - public class VideoMessageReply : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class VideoMessageReply : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class Video { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/VoiceMessageReply.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/VoiceMessageReply.cs index 478d0be8..75265a25 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/VoiceMessageReply.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpReply/VoiceMessageReply.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示被动回复语音消息的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Passive_user_reply_message.html#2 /// - public class VoiceMessageReply : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class VoiceMessageReply : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class Voice { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessageChangeEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessageChangeEvent.cs index 43cf764a..41fc2b52 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessageChangeEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessageChangeEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.subscribe_msg_change_event 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Subscription_Messages/api.html#%E4%BA%8B%E4%BB%B6%E6%8E%A8%E9%80%81 /// - public class SubscribeMessageChangeEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class SubscribeMessageChangeEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class EventData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessagePopupEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessagePopupEvent.cs index 9cfa10be..04c562be 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessagePopupEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessagePopupEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.subscribe_msg_popup_event 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Subscription_Messages/api.html#%E4%BA%8B%E4%BB%B6%E6%8E%A8%E9%80%81 /// - public class SubscribeMessagePopupEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class SubscribeMessagePopupEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class EventData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessageSentEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessageSentEvent.cs index c879b90a..70ca6b60 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessageSentEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/MpSubscribeMessage/SubscribeMessageSentEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.subscribe_msg_sent_event 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/Subscription_Messages/api.html#%E4%BA%8B%E4%BB%B6%E6%8E%A8%E9%80%81 /// - public class SubscribeMessageSentEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class SubscribeMessageSentEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class EventData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppAuthorizationApplyEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppAuthorizationApplyEvent.cs index 32f34f15..9b52db23 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppAuthorizationApplyEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppAuthorizationApplyEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.betaapp_authorization_apply_event 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/verify_beta_Mini_Programs/getmpadminauth.html /// - public class BetaAppAuthorizationApplyEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class BetaAppAuthorizationApplyEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class EventData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppVerifyApplyEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppVerifyApplyEvent.cs index e066c274..98261c8b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppVerifyApplyEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppVerifyApplyEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.betaapp_verify_apply_event 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/verify_beta_Mini_Programs/mpverifybetaweapp.html /// - public class BetaAppVerifyApplyEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class BetaAppVerifyApplyEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class EventData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppVerifyEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppVerifyEvent.cs index f3f88b2c..c9792c56 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppVerifyEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/BetaAppVerifyEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.betaapp_verify_event 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/verify_beta_Mini_Programs/getmpadminauth.html /// - public class BetaAppVerifyEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class BetaAppVerifyEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class EventData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentAuthorizedEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentAuthorizedEvent.cs index a041ce3b..80d6379f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentAuthorizedEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentAuthorizedEvent.cs @@ -7,7 +7,7 @@ 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 /// - public class ComponentAuthorizedEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class ComponentAuthorizedEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置授权方 AppId。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUnauthorizedEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUnauthorizedEvent.cs index 3dd9f5f9..4c6d9485 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUnauthorizedEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUnauthorizedEvent.cs @@ -7,7 +7,7 @@ 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 /// - public class ComponentUnauthorizedEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class ComponentUnauthorizedEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置授权方 AppId。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUpdateAuthorizedEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUpdateAuthorizedEvent.cs index c1c7d44a..6c76cdd0 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUpdateAuthorizedEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentUpdateAuthorizedEvent.cs @@ -7,7 +7,7 @@ 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 /// - public class ComponentUpdateAuthorizedEvent : ComponentAuthorizedEvent, WechatApiEvent.Types.IXmlSerializable + 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 8acac78b..be5e6f0b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentVerifyTicketEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/ComponentVerifyTicketEvent.cs @@ -7,7 +7,7 @@ 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 /// - public class ComponentVerifyTicketEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class ComponentVerifyTicketEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置验证票据。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterBetaAppEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterBetaAppEvent.cs index 17591104..956ca977 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterBetaAppEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterBetaAppEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 INFO.notify_third_fastregisterbetaapp 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/beta_Mini_Programs/fastregister.html /// - public class NotifyThirdFastRegisterBetaAppEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class NotifyThirdFastRegisterBetaAppEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class InfoData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterEvent.cs index e247d63e..68a65db1 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastRegisterEvent.cs @@ -7,9 +7,9 @@ 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 /// - public class NotifyThirdFastRegisterEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class NotifyThirdFastRegisterEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class InfoData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastVerifyBetaAppEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastVerifyBetaAppEvent.cs index 3f730bc6..bdd669b8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastVerifyBetaAppEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/NotifyThirdFastVerifyBetaAppEvent.cs @@ -7,9 +7,9 @@ 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 /// - public class NotifyThirdFastVerifyBetaAppEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class NotifyThirdFastVerifyBetaAppEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class InfoData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditDelayEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditDelayEvent.cs index deb4f027..67587c9b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditDelayEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditDelayEvent.cs @@ -7,7 +7,7 @@ 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 /// - public class WeappAuditDelayEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + 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 5268d9f0..cffa3225 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditFailEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditFailEvent.cs @@ -7,7 +7,7 @@ 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 /// - public class WeappAuditFailEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + 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 21fdb593..38d293c8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditSuccessEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WeappAuditSuccessEvent.cs @@ -7,7 +7,7 @@ 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 /// - public class WeappAuditSuccessEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + 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 beb93332..d065bd53 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaAppealRecordEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaAppealRecordEvent.cs @@ -7,9 +7,9 @@ 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 /// - public class WxaAppealRecordEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class WxaAppealRecordEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class Material { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaCategoryAuditEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaCategoryAuditEvent.cs index ae1315e9..8f7bf1f8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaCategoryAuditEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaCategoryAuditEvent.cs @@ -7,7 +7,7 @@ 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 /// - public class WxaCategoryAuditEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class WxaCategoryAuditEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置一级类目 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaNicknameAuditEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaNicknameAuditEvent.cs index 255b454d..3e42bd07 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaNicknameAuditEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenComponent/WxaNicknameAuditEvent.cs @@ -7,7 +7,7 @@ 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 /// - public class WxaNicknameAuditEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable + public class WxaNicknameAuditEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置昵称。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductAccountRegisterEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductAccountRegisterEvent.cs index e4f70090..77e20173 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductAccountRegisterEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductAccountRegisterEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.open_product_account_register 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/framework/ministore/minishopopencomponent2/callback/account_register.html /// - public class OpenProductAccountRegisterEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class OpenProductAccountRegisterEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class EventData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductBrandAuditEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductBrandAuditEvent.cs index 37bf7ca7..2564da59 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductBrandAuditEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductBrandAuditEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.open_product_brand_audit 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/framework/ministore/minishopopencomponent2/callback/brand_audit.html /// - public class OpenProductBrandAuditEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class OpenProductBrandAuditEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class EventData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductCategoryAuditEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductCategoryAuditEvent.cs index fad13f5a..0f4d9a71 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductCategoryAuditEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductCategoryAuditEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.open_product_category_audit 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/framework/ministore/minishopopencomponent2/callback/category_audit.html /// - public class OpenProductCategoryAuditEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class OpenProductCategoryAuditEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class EventData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductSPUAuditEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductSPUAuditEvent.cs index d436cd3c..301b7599 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductSPUAuditEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/OpenProduct/OpenProductSPUAuditEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.open_product_spu_audit 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/framework/ministore/minishopopencomponent2/callback/spu_audit.html /// - public class OpenProductSPUAuditEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class OpenProductSPUAuditEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class EventData { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/CreateMapPOIAuditInfoEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/CreateMapPOIAuditInfoEvent.cs index fb9ee44d..c1fe4746 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/CreateMapPOIAuditInfoEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/CreateMapPOIAuditInfoEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.create_map_poi_audit_info 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html#11 /// - public class CreateMapPOIAuditInfoEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class CreateMapPOIAuditInfoEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置审核单 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/POICheckNotifyEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/POICheckNotifyEvent.cs index 9d4e4478..06b354cb 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/POICheckNotifyEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/POI/POICheckNotifyEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.poi_check_notify 事件的数据。 /// REF: https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html#8 /// - public class POICheckNotifyEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class POICheckNotifyEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置商户门店 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/AddExpressPathEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/AddExpressPathEvent.cs index 5cb31285..8b9b059c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/AddExpressPathEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/AddExpressPathEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.add_express_path 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-business/logistics.onPathUpdate.html /// - public class AddExpressPathEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class AddExpressPathEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class Action { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/AddWaybillEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/AddWaybillEvent.cs index b52bc0e3..4870620f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/AddWaybillEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/AddWaybillEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.add_waybill 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-provider/logistics.onAddOrder.html /// - public class AddWaybillEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class AddWaybillEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { - public new static class Types + public static class Types { public class Sender { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/CancelWaybillEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/CancelWaybillEvent.cs index 0d6e8c6d..30974a8f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/CancelWaybillEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/CancelWaybillEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.cancel_waybill 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-provider/logistics.onCancelOrder.html /// - public class CancelWaybillEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class CancelWaybillEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置快递公司客户编码。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/CheckBusinessEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/CheckBusinessEvent.cs index 0de031fb..42cedf5c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/CheckBusinessEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/CheckBusinessEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.check_biz 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-provider/logistics.onCheckBusiness.html /// - public class CheckBusinessEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class CheckBusinessEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置快递公司客户编码。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/GetQuotaEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/GetQuotaEvent.cs index 704baad2..0ac5c5e4 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/GetQuotaEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/GetQuotaEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.get_quota 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-provider/logistics.onGetQuota.html /// - public class GetQuotaEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class GetQuotaEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置快递公司客户编码。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/UpdateBusinessBindResultEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/UpdateBusinessBindResultEvent.cs index 397ee0aa..bea239fc 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/UpdateBusinessBindResultEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaExpress/UpdateBusinessBindResultEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.update_business_bind_result 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-business/logistics.onBindResultUpdate.html /// - public class UpdateBusinessBindResultEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, WechatApiEvent.Types.IXmlSerializable + public class UpdateBusinessBindResultEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, WechatApiEvent.Serialization.IXmlSerializable { /// /// 获取或设置快递公司 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/CancelAuthAccountEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/CancelAuthAccountEvent.cs index d70de6ae..7ee11999 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/CancelAuthAccountEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/CancelAuthAccountEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.cancel_auth_account 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onCancelAuth.html /// - public class CancelAuthAccountEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class CancelAuthAccountEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置商家 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/GetAuthInfoEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/GetAuthInfoEvent.cs index a85d2b5a..314512f1 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/GetAuthInfoEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/GetAuthInfoEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.get_auth_info 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onAuthInfoGet.html /// - public class GetAuthInfoEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class GetAuthInfoEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置发起授权的商户小程序 AppId。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/GetPreAuthCodeEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/GetPreAuthCodeEvent.cs index 610469be..cefb668c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/GetPreAuthCodeEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/GetPreAuthCodeEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.get_pre_auth_code 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onPreAuthCodeGet.html /// - public class GetPreAuthCodeEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class GetPreAuthCodeEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置发起授权的商户小程序 AppId。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/MockUpdateOrderStatusEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/MockUpdateOrderStatusEvent.cs index af049483..6b4e6dbe 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/MockUpdateOrderStatusEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/MockUpdateOrderStatusEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.mock_update_order_status 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onMockUpdateOrder.html /// - public class MockUpdateOrderStatusEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class MockUpdateOrderStatusEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置商家 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportAddOrderEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportAddOrderEvent.cs index ae014073..49b02757 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportAddOrderEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportAddOrderEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.transport_add_order 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onOrderAdd.html /// - public class TransportAddOrderEvent : TransportPreCreateOrderEvent, WechatApiEvent.Types.IJsonSerializable + public class TransportAddOrderEvent : TransportPreCreateOrderEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置微信订单 Token。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportAddTipsEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportAddTipsEvent.cs index 5409450d..cb7ef8de 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportAddTipsEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportAddTipsEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.transport_add_tips 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onOrderAddTips.html /// - public class TransportAddTipsEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class TransportAddTipsEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置商家 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportCancelOrderEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportCancelOrderEvent.cs index 311897ae..3fd0ab52 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportCancelOrderEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportCancelOrderEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.transport_cancel_order 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onOrderCancel.html /// - public class TransportCancelOrderEvent : TransportPreCancelOrderEvent, WechatApiEvent.Types.IJsonSerializable + public class TransportCancelOrderEvent : TransportPreCancelOrderEvent, WechatApiEvent.Serialization.IJsonSerializable { } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportConfirmReturnToBusinessEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportConfirmReturnToBusinessEvent.cs index 45c12f6d..c561a344 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportConfirmReturnToBusinessEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportConfirmReturnToBusinessEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.transport_confirm_return_to_biz 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onOrderPreCancel.html /// - public class TransportConfirmReturnToBusinessEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class TransportConfirmReturnToBusinessEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置商家 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportGetAgentPosEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportGetAgentPosEvent.cs index 8315db66..fe1d70c4 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportGetAgentPosEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportGetAgentPosEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.transport_get_agent_pos 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onAgentPosQuery.html /// - public class TransportGetAgentPosEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class TransportGetAgentPosEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置商家 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportPreCancelOrderEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportPreCancelOrderEvent.cs index 66183567..1d39db27 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportPreCancelOrderEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportPreCancelOrderEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.transport_precancel_order 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onOrderPreCancel.html /// - public class TransportPreCancelOrderEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class TransportPreCancelOrderEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置商家 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportPreCreateOrderEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportPreCreateOrderEvent.cs index a0a2a8f6..e11f5d37 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportPreCreateOrderEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportPreCreateOrderEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.transport_precreate_order 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onOrderPreAdd.html /// - public class TransportPreCreateOrderEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class TransportPreCreateOrderEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { - public new static class Types + public static class Types { public class Sender : Models.CgibinExpressLocalBusinessOrderAddRequest.Types.Sender { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportQueryOrderStatusEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportQueryOrderStatusEvent.cs index 1407f67c..cbdf5cb2 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportQueryOrderStatusEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportQueryOrderStatusEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.transport_query_order_status 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onOrderQuery.html /// - public class TransportQueryOrderStatusEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class TransportQueryOrderStatusEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置商家 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportReAddOrderEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportReAddOrderEvent.cs index 74ff929c..22506bac 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportReAddOrderEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportReAddOrderEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.transport_readd_order 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onOrderReAdd.html /// - public class TransportReAddOrderEvent : TransportAddOrderEvent, WechatApiEvent.Types.IJsonSerializable + public class TransportReAddOrderEvent : TransportAddOrderEvent, WechatApiEvent.Serialization.IJsonSerializable { } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportSetRiderScoreEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportSetRiderScoreEvent.cs index 2f298918..ff150c9a 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportSetRiderScoreEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportSetRiderScoreEvent.cs @@ -7,7 +7,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.transport_set_rider_score 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onRiderScoreSet.html /// - public class TransportSetRiderScoreEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class TransportSetRiderScoreEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { /// /// 获取或设置商家 ID。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/UpdateWaybillStatusEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/UpdateWaybillStatusEvent.cs index b6ca5fe0..7b080411 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/UpdateWaybillStatusEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/UpdateWaybillStatusEvent.cs @@ -7,9 +7,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// 表示 EVENT.update_waybill_status 事件的数据。 /// REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-business/immediateDelivery.onOrderStatus.html /// - public class UpdateWaybillStatusEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class UpdateWaybillStatusEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { - public new static class Types + public static class Types { public class Agent { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaSecurity/WxaMediaCheckEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaSecurity/WxaMediaCheckEvent.cs index e260ed64..e0dcb3b8 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaSecurity/WxaMediaCheckEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaSecurity/WxaMediaCheckEvent.cs @@ -10,9 +10,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events /// https://developers.weixin.qq.com/minigame/dev/api-backend/open-api/sec-check/security.mediaCheckAsync.html /// https://developers.weixin.qq.com/minigame/dev/api-backend/open-api/sec-check/security.mediaCheckAsync-v1.html /// - public class WxaMediaCheckEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable + public class WxaMediaCheckEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable { - public new static class Types + public static class Types { public class Result { diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientEventExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientEventExtensions.cs index 3858ad5f..4e4dcb66 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientEventExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientEventExtensions.cs @@ -106,7 +106,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// 是否是安全模式(即是否需要解密)。 /// public static TEvent DeserializeEventFromJson(this WechatApiClient client, string callbackJson, bool safety = false) - where TEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, new() + where TEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, new() { return InnerDeserializeEventFromJson(client, callbackJson, safety); } @@ -132,7 +132,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// 是否是安全模式(即是否需要解密)。 /// public static TEvent DeserializeEventFromXml(this WechatApiClient client, string callbackXml, bool safety = false) - where TEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable, new() + where TEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable, new() { return InnerDeserializeEventFromXml(client, callbackXml, safety); } @@ -158,7 +158,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// 是否是安全模式(即是否需要加密)。 /// public static string SerializeEventToJson(this WechatApiClient client, TEvent callbackModel, bool safety = false) - where TEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable, new() + where TEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable, new() { string json; @@ -220,7 +220,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api /// 是否是安全模式(即是否需要加密)。 /// public static string SerializeEventToXml(this WechatApiClient client, TEvent callbackModel, bool safety = false) - where TEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable, new() + where TEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable, new() { string xml; diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/WechatApiEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/WechatApiEvent.cs index ba3cec93..5a161f90 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.Api/WechatApiEvent.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.Api/WechatApiEvent.cs @@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api [Serializable] public class WechatApiEvent { - public static class Types + public static class Serialization { [Newtonsoft.Json.JsonObject] public interface IJsonSerializable