mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 18:22:24 +08:00
docs: 完善文档
This commit is contained in:
@@ -42,7 +42,7 @@ public static class MyFakeClientExtensions
|
||||
|
||||
```csharp
|
||||
/* 继承 WechatApiEvent 实现自定义的 JSON 格式的回调通知事件 */
|
||||
public class MyFakeEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializable
|
||||
public class MyFakeEvent : WechatApiEvent, WechatApiEvent.Serialization.IJsonSerializable
|
||||
{
|
||||
[Newtonsoft.Json.JsonProperty("my_fake_props")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("my_fake_props")]
|
||||
@@ -50,7 +50,7 @@ public class MyFakeEvent : WechatApiEvent, WechatApiEvent.Types.IJsonSerializabl
|
||||
}
|
||||
|
||||
/* 继承 WechatApiEvent 实现自定义的 XML 格式的回调通知事件 */
|
||||
public class MyFakeEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable
|
||||
public class MyFakeEvent : WechatApiEvent, WechatApiEvent.Serialization.IXmlSerializable
|
||||
{
|
||||
[System.Xml.Serialization.XmlElement("my_fake_props")]
|
||||
public string MyFakeProps { get; set; }
|
||||
|
Reference in New Issue
Block a user