🎨 格式化部分代码

This commit is contained in:
Binary Wang
2020-04-04 22:26:52 +08:00
parent c175a31c45
commit 458c645fa4
2 changed files with 21 additions and 9 deletions

View File

@@ -291,12 +291,12 @@ public class WxMaServiceImpl implements WxMaService, RequestHttp<CloseableHttpCl
Lock lock = this.getWxMaConfig().getAccessTokenLock();
lock.lock();
try {
if(StringUtils.equals(this.getWxMaConfig().getAccessToken(), accessToken)){
if (StringUtils.equals(this.getWxMaConfig().getAccessToken(), accessToken)) {
this.getWxMaConfig().expireAccessToken();
}
} catch (Exception ex){
} catch (Exception ex) {
this.getWxMaConfig().expireAccessToken();
}finally {
} finally {
lock.unlock();
}
if (this.getWxMaConfig().autoRefreshToken()) {