public class WxMaJsapiServiceImpl extends Object implements WxMaJsapiService
Created by BinaryWang on 2018/8/5.
构造器和说明 |
---|
WxMaJsapiServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
WxJsapiSignature |
createJsapiSignature(String url)
创建调用jsapi时所需要的签名
详情请见:http://mp.weixin.qq.com/wiki?
|
String |
getCardApiTicket()
获得卡券api_ticket,不强制刷新api_ticket
|
String |
getCardApiTicket(boolean forceRefresh)
获得卡券api_ticket
获得时会检查apiToken是否过期,如果过期了,那么就刷新一下,否则就什么都不干
详情请见:http://mp.weixin.qq.com/wiki?
|
String |
getJsapiTicket()
获得jsapi_ticket,不强制刷新jsapi_ticket
|
String |
getJsapiTicket(boolean forceRefresh)
获得jsapi_ticket
获得时会检查jsapiToken是否过期,如果过期了,那么就刷新一下,否则就什么都不干
详情请见:http://mp.weixin.qq.com/wiki?
|
public String getCardApiTicket() throws WxErrorException
WxMaJsapiService
getCardApiTicket
在接口中 WxMaJsapiService
WxErrorException
- the wx error exception#getJsapiTicket(boolean)
public String getCardApiTicket(boolean forceRefresh) throws WxErrorException
WxMaJsapiService
获得卡券api_ticket 获得时会检查apiToken是否过期,如果过期了,那么就刷新一下,否则就什么都不干 详情请见:http://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115&token=&lang=zh_CN
getCardApiTicket
在接口中 WxMaJsapiService
forceRefresh
- 强制刷新WxErrorException
- the wx error exceptionpublic String getJsapiTicket() throws WxErrorException
WxMaJsapiService
getJsapiTicket
在接口中 WxMaJsapiService
WxErrorException
- the wx error exception#getJsapiTicket(boolean)
public String getJsapiTicket(boolean forceRefresh) throws WxErrorException
WxMaJsapiService
获得jsapi_ticket 获得时会检查jsapiToken是否过期,如果过期了,那么就刷新一下,否则就什么都不干 详情请见:http://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115&token=&lang=zh_CN
getJsapiTicket
在接口中 WxMaJsapiService
forceRefresh
- 强制刷新WxErrorException
- the wx error exceptionpublic WxJsapiSignature createJsapiSignature(String url) throws WxErrorException
WxMaJsapiService
创建调用jsapi时所需要的签名 详情请见:http://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115&token=&lang=zh_CN
createJsapiSignature
在接口中 WxMaJsapiService
url
- the urlWxErrorException
- the wx error exceptionCopyright © 2024. All rights reserved.