|
|
|
@@ -235,7 +235,7 @@ public class TtWebServiceImpl implements TtWebService, RequestHttp<CloseableHttp |
|
|
|
/* |
|
|
|
* 发生以下情况时尝试刷新access_token |
|
|
|
*/ |
|
|
|
if (error.getErrorCode() == ERR_200104) { |
|
|
|
if (error.getErrorCode() == ERR_2190008) { |
|
|
|
// 强制设置WxMaConfig的access token过期了,这样在下一次请求里就会刷新access token |
|
|
|
this.getTtWebConfig().expireAccessToken(); |
|
|
|
if (this.getTtWebConfig().autoRefreshToken()) { |
|
|
|
|