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.
|
|
2 months ago | |
|---|---|---|
| .. | ||
| LINGYUN/Abp/WeChat | 2 years ago | |
| System | 2 years ago | |
| FodyWeavers.xml | 2 years ago | |
| FodyWeavers.xsd | 2 years ago | |
| LINGYUN.Abp.WeChat.csproj | 2 months ago | |
| README.EN.md | 1 year ago | |
| README.md | 1 year ago | |
README.md
LINGYUN.Abp.WeChat
微信基础模块,提供微信应用开发的基础功能和配置。
功能特性
- 微信基础配置管理
- 统一的微信API调用接口
- 微信AccessToken管理
- 统一的错误处理机制
模块引用
[DependsOn(typeof(AbpWeChatModule))]
public class YouProjectModule : AbpModule
{
// other
}
配置项
{
"WeChat": {
"BaseUrl": "https://api.weixin.qq.com", // 微信API基础地址
"DefaultTimeout": 30000, // 默认超时时间(毫秒)
"RetryCount": 3, // 重试次数
"RetryMilliseconds": 1000 // 重试间隔(毫秒)
}
}
Settings配置
WeChat.BaseUrl: 微信API基础地址WeChat.DefaultTimeout: 默认超时时间WeChat.RetryCount: 重试次数WeChat.RetryMilliseconds: 重试间隔