Skip to content

Commit 1990b10

Browse files
ericlogicbinarywang
authored andcommitted
binarywang#348 修正获取jsticket时,错误的使用了accessTokenLock锁的问题。
1 parent adc4408 commit 1990b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpServiceAbstractImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public String getJsapiTicket() throws WxErrorException {
6767

6868
@Override
6969
public String getJsapiTicket(boolean forceRefresh) throws WxErrorException {
70-
Lock lock = this.getWxMpConfigStorage().getAccessTokenLock();
70+
Lock lock = this.getWxMpConfigStorage().getJsapiTicketLock();
7171
try {
7272
lock.lock();
7373
if (forceRefresh) {

0 commit comments

Comments
 (0)