Skip to content

Conversation

@decrySign
Copy link

问题复现方法

手动删除Redis数据库后访问/blogs接口 报错{"code":500,"msg":"异常错误","data":null}

问题说明

原有代码在缓存中保存了 PageResult,但读取出来后 BlogInfo 的结构不一致,导致序列化异常。

修复方式

调整了缓存的序列化处理逻辑,确保缓存读取后格式正确。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant