public class WxTicket extends Object implements WxCredential
Modifier and Type | Class and Description |
---|---|
static class |
WxTicket.Type |
Constructor and Description |
---|
WxTicket() |
Modifier and Type | Method and Description |
---|---|
String |
getCredential()
获取凭证
|
int |
getExpiresIn()
获取有效时长
|
String |
getTicket() |
void |
setExpiresIn(int expiresIn) |
void |
setTicket(String ticket) |
public String getTicket()
public void setTicket(String ticket)
public int getExpiresIn()
WxCredential
getExpiresIn
in interface WxCredential
public String getCredential()
WxCredential
getCredential
in interface WxCredential
public void setExpiresIn(int expiresIn)
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.