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.MiniProgram
WeChat Mini Program SDK integration module, providing necessary functionality support for WeChat Mini Program development.
Features
- WeChat Mini Program login authentication
- Mini Program QR code generation
- Subscription message sending
- Mini Program data statistics
- Mini Program live streaming
- Mini Program payment integration
- Unified service messaging
Module Reference
[DependsOn(typeof(AbpWeChatMiniProgramModule))]
public class YouProjectModule : AbpModule
{
// other
}
Configuration
{
"WeChat": {
"MiniProgram": {
"AppId": "", // Mini Program AppId
"AppSecret": "", // Mini Program AppSecret
"Token": "", // Mini Program message Token
"EncodingAESKey": "", // Mini Program message encryption key
"IsDebug": false, // Whether to enable debug mode
"DefaultEnvironment": "release" // Default environment, options: develop/trial/release
}
}
}
Important Note
There is a known issue with dynamic configuration: https://github.com/abpframework/abp/issues/6318
Therefore, you must use AbpWeChatMiniProgramOptionsFactory.CreateAsync() to dynamically change AbpWeChatMiniProgramOptions.
Settings Configuration
WeChat.MiniProgram.AppId: Mini Program AppIdWeChat.MiniProgram.AppSecret: Mini Program AppSecretWeChat.MiniProgram.Token: Mini Program message TokenWeChat.MiniProgram.EncodingAESKey: Mini Program message encryption keyWeChat.MiniProgram.IsDebug: Whether to enable debug modeWeChat.MiniProgram.DefaultEnvironment: Default environment