You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.7 KiB
1.7 KiB
LINGYUN.Abp.WeChat.Official
WeChat Official Account SDK integration module, providing necessary functionality support for WeChat Official Account development.
Features
- WeChat Official Account OAuth2.0 authentication
- Custom menu management
- Template message sending
- Media management
- User management
- Customer service messaging
- WeChat payment integration
- Message encryption/decryption
- Event handling
Module Reference
[DependsOn(typeof(AbpWeChatOfficialModule))]
public class YouProjectModule : AbpModule
{
// other
}
Configuration
{
"WeChat": {
"Official": {
"AppId": "", // Official Account AppId
"AppSecret": "", // Official Account AppSecret
"Token": "", // Official Account message Token
"EncodingAESKey": "", // Official Account message encryption key
"IsSandBox": false, // Whether in sandbox environment
"Url": "" // Official Account server URL
}
}
}
Important Note
There is a known issue with dynamic configuration: https://github.com/abpframework/abp/issues/6318
Therefore, you must use AbpWeChatOfficialOptionsFactory.CreateAsync() to dynamically change AbpWeChatOfficialOptions.
Settings Configuration
WeChat.Official.AppId: Official Account AppIdWeChat.Official.AppSecret: Official Account AppSecretWeChat.Official.Token: Official Account message TokenWeChat.Official.EncodingAESKey: Official Account message encryption keyWeChat.Official.IsSandBox: Whether in sandbox environmentWeChat.Official.Url: Official Account server URL