public interface WeMpTicketCacheable extends WeMpCacheable
| Modifier and Type | Method and Description |
|---|---|
String |
getAgentTicket(String corpId,
String agentId)
获取应用的jsapi_ticket.
|
String |
getCorpTicket(String corpId,
String agentId)
获取企业的jsapi_ticket.
|
String |
putAgentTicket(String corpId,
String agentId,
String agentTicket)
放入应用的jsapi_ticket.
|
String |
putCorpTicket(String appid,
String corpTicket)
放入企业的jsapi_ticket.
|
String putCorpTicket(String appid, String corpTicket)
推荐缓存组织格式 ticket::corp::{appid}.
appid - the appidcorpTicket - the corpTicketString getCorpTicket(String corpId, String agentId)
corpId - the corpIdagentId - the agentIdString putAgentTicket(String corpId, String agentId, String agentTicket)
推荐缓存组织格式 ticket::qywx::agent::{corpId}::{agentId}.
corpId - the corpIdagentId - the agentIdagentTicket - the agentTicketCopyright © 2023. All rights reserved.