这是基于vue-vben-admin 模板适用于abp vNext的前端管理项目
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

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 AppId
  • WeChat.Official.AppSecret: Official Account AppSecret
  • WeChat.Official.Token: Official Account message Token
  • WeChat.Official.EncodingAESKey: Official Account message encryption key
  • WeChat.Official.IsSandBox: Whether in sandbox environment
  • WeChat.Official.Url: Official Account server URL

More Documentation