wxp
This commit is contained in:
@@ -75,6 +75,7 @@ public class WechatRest {
|
|||||||
if (StringUtils.isBlank(token)) {
|
if (StringUtils.isBlank(token)) {
|
||||||
throw new ServiceException(ErrorCodeEnum.GET_ACCESSTOKEN_ERROR);
|
throw new ServiceException(ErrorCodeEnum.GET_ACCESSTOKEN_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
redisUtilPool.setString(cacheAccessToken, token, 7000);
|
redisUtilPool.setString(cacheAccessToken, token, 7000);
|
||||||
accessToken = token;
|
accessToken = token;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user