mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
#348 修正获取jsticket时,错误的使用了accessTokenLock锁的问题。
This commit is contained in:
parent
adc4408b86
commit
1990b10e13
@ -67,7 +67,7 @@ public abstract class WxMpServiceAbstractImpl<H, P> implements WxMpService, Requ
|
||||
|
||||
@Override
|
||||
public String getJsapiTicket(boolean forceRefresh) throws WxErrorException {
|
||||
Lock lock = this.getWxMpConfigStorage().getAccessTokenLock();
|
||||
Lock lock = this.getWxMpConfigStorage().getJsapiTicketLock();
|
||||
try {
|
||||
lock.lock();
|
||||
if (forceRefresh) {
|
||||
|
Loading…
Reference in New Issue
Block a user