1
0
mirror of synced 2026-02-12 15:17:51 +08:00

🎨 Fix StackOverflowError in WxCpRedissonConfigImpl and WxCpRedisTemplateConfigImpl toString() methods

This commit is contained in:
Copilot
2025-07-24 16:39:56 +08:00
committed by GitHub
parent 2e952c76c8
commit 3a1d8075fc
2 changed files with 79 additions and 0 deletions

View File

@@ -180,4 +180,17 @@ public abstract class AbstractWxCpInRedisConfigImpl extends WxCpDefaultConfigImp
Long expire = redisOps.getExpire(this.agentJsapiTicketKey);
return expire == null || expire < 2;
}
@Override
public String toString() {
return "AbstractWxCpInRedisConfigImpl{" +
"corpId='" + getCorpId() + '\'' +
", agentId=" + getAgentId() +
", keyPrefix='" + keyPrefix + '\'' +
", accessTokenKey='" + accessTokenKey + '\'' +
", jsapiTicketKey='" + jsapiTicketKey + '\'' +
", agentJsapiTicketKey='" + agentJsapiTicketKey + '\'' +
", lockKey='" + lockKey + '\'' +
'}';
}
}