# triones-weixin **Repository Path**: trionesdev/triones-weixin ## Basic Information - **Project Name**: triones-weixin - **Description**: 微信集成包 - **Primary Language**: Kotlin - **License**: Apache-2.0 - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-06 - **Last Updated**: 2025-07-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 微信SDK > 对微信API封装的SDK,便于用户使用 --- ## 支持 - [公众号](triones-weixin-offiaccount) - [小程序](triones-weixin-miniprogram/readme.md) - [网页](triones-weixin-web) - [APP](triones-weixin-app) - [开放平台](triones-weixin-oplatform) ## 使用 添加依赖 ```xml com.trionesdev.weixin triones-weixin-dependencies 版本号 pom import ``` ## 配置说明 | 属性 | 说明 | 类型 | 默认值 | |--------------|-------------------|------------------------------------------|-------| | appId | 微信appId | String | - | | secret | 微信secret | String | - | | multi | 是否支持多个微信 | Boolen | false | | credentials | 多个微信凭证 | `List` | - | | httpLogLevel | HTTP的日志级别(okhttp) | `HttpLoggingInterceptor.Level` | - | | cache | 缓存实现 | `com.trionesdev.weixin.base.WeiXinCache` | - | ## 使用缓存 写一个 `com.trionesdev.weixin.base.WeiXinCache`的实现类,内部自行进行缓存处理。将对象赋给 `WeiXinConfig`的`cache` --- ### 关注我们,一起交流 > 留言回复不及时,可以通过关注公众号联系我们