Skip to content

trionesdev/triones-weixin

Repository files navigation

微信SDK

对微信API封装的SDK,便于用户使用


支持

使用

添加依赖

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.trionesdev.weixin</groupId>
            <artifactId>triones-weixin-dependencies</artifactId>
            <version>版本号</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

配置说明

属性 说明 类型 默认值
appId 微信appId String -
secret 微信secret String -
multi 是否支持多个微信 Boolen false
credentials 多个微信凭证 List<WeiXinCredentials> -
httpLogLevel HTTP的日志级别(okhttp) HttpLoggingInterceptor.Level -
cache 缓存实现 com.trionesdev.weixin.base.WeiXinCache -

使用缓存

写一个 com.trionesdev.weixin.base.WeiXinCache的实现类,内部自行进行缓存处理。将对象赋给 WeiXinConfigcache


关注我们,一起交流

留言回复不及时,可以通过关注公众号联系我们

About

微信SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages