public interface WeComAgentTicketCacheable extends WeComCacheable
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 corpId,
String agentId,
String corpTicket)
放入企业的jsapi_ticket.
|
String putCorpTicket(String corpId, String agentId, String corpTicket)
推荐缓存组织格式 ticket::qywx::corp::{corpId}::{agentId}
.
corpId
- the corpIdagentId
- the agentIdcorpTicket
- 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 © 2025. All rights reserved.