mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-20 10:38:10 +08:00
docs: 完善文档
This commit is contained in:
@@ -56,6 +56,18 @@ switch (msgType)
|
||||
|
||||
上述提供的扩展方法,会自动判定是否处于安全模式下,无需开发者手动干预。
|
||||
|
||||
为此,你需要在构造得到 `WechatApiClient` 对象时指定推送参数:
|
||||
|
||||
```csharp
|
||||
var options = new WechatApiClientOptions()
|
||||
{
|
||||
// 其他配置项略
|
||||
PushToken = "Token",
|
||||
PushEncodingAESKey = "EncodingAESKey"
|
||||
};
|
||||
var client = new WechatApiClient(options);
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 被动回复:
|
||||
|
Reference in New Issue
Block a user