public class WechatMpApi extends Object
| Modifier and Type | Field and Description |
|---|---|
private okhttp3.ConnectionPool |
connectionPool |
private okhttp3.logging.HttpLoggingInterceptor.Level |
level |
private WeMpTokenCacheable |
weMpTokenCacheable |
| Constructor and Description |
|---|
WechatMpApi(WeMpTokenCacheable weMpTokenCacheable)
Instantiates a new Work we chat api.
|
WechatMpApi(WeMpTokenCacheable weMpTokenCacheable,
okhttp3.ConnectionPool connectionPool)
推荐生产使用
|
WechatMpApi(WeMpTokenCacheable weMpTokenCacheable,
okhttp3.ConnectionPool connectionPool,
okhttp3.logging.HttpLoggingInterceptor.Level level)
开发使用,输出log
|
WechatMpApi(WeMpTokenCacheable weMpTokenCacheable,
okhttp3.logging.HttpLoggingInterceptor.Level level)
Instantiates a new Work we chat api.
|
| Modifier and Type | Method and Description |
|---|---|
CardApi |
cardApi(MpApp mpApp)
微信会员卡1.0API
|
MediaApi |
mediaApi(MpApp mpApp)
素材API
|
MessageApi |
messageApi(MpApp mpApp)
Message api message api.
|
private final WeMpTokenCacheable weMpTokenCacheable
private final okhttp3.logging.HttpLoggingInterceptor.Level level
private final okhttp3.ConnectionPool connectionPool
public WechatMpApi(WeMpTokenCacheable weMpTokenCacheable)
weMpTokenCacheable - the we com token cacheablepublic WechatMpApi(WeMpTokenCacheable weMpTokenCacheable, okhttp3.ConnectionPool connectionPool)
weMpTokenCacheable - the we com token cacheableconnectionPool - the connection poolpublic WechatMpApi(WeMpTokenCacheable weMpTokenCacheable, okhttp3.logging.HttpLoggingInterceptor.Level level)
weMpTokenCacheable - the we com token cacheablelevel - the levelpublic WechatMpApi(WeMpTokenCacheable weMpTokenCacheable, okhttp3.ConnectionPool connectionPool, okhttp3.logging.HttpLoggingInterceptor.Level level)
weMpTokenCacheable - the we com token cacheableconnectionPool - the connection poollevel - the levelpublic MediaApi mediaApi(MpApp mpApp)
mpApp - the mp apppublic CardApi cardApi(MpApp mpApp)
品牌商户可升级为 会员卡2.0
mpApp - the mp apppublic MessageApi messageApi(MpApp mpApp)
mpApp - the mp appCopyright © 2025. All rights reserved.