|
@@ -531,7 +531,7 @@ public class MemberUserServiceImpl implements MemberUserService {
|
|
|
if(subscribe == null){
|
|
|
Object errCode = responseJsonObject.get("errcode");
|
|
|
// 如果微信的accessToken失效,则重新获取,最多重试3次
|
|
|
- if(errCode.equals("40001") && maxRetries <= 3){
|
|
|
+ if(errCode.toString().equals("40001") && maxRetries <= 3){
|
|
|
stringRedisTemplate.delete(WX_TICK_KEY_APPID);
|
|
|
isSubscribe(openid, maxRetries + 1);
|
|
|
}
|