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