|  | @@ -101,7 +101,7 @@ public class WeChatApiUtil {
 | 
	
		
			
				|  |  |                  res = restTemplate.getForObject(url, JSONObject.class, map);
 | 
	
		
			
				|  |  |                  // token失效时间
 | 
	
		
			
				|  |  |                  Integer expires = res.getInteger("expires_in");
 | 
	
		
			
				|  |  | -                long cacheExpires = LocalDateTime.now().plusSeconds(expires - 100).toEpochSecond(ZoneOffset.of("+8"));
 | 
	
		
			
				|  |  | +                long cacheExpires = expires - 100;
 | 
	
		
			
				|  |  |                  accessToken = res.getString("access_token");
 | 
	
		
			
				|  |  |                  redisUtil.set(RedisKeyConst.WECHAT_ACCESS_TOKEN_KEY + appId, accessToken, cacheExpires);
 | 
	
		
			
				|  |  |              } catch (RestClientException e) {
 |