我看到admin的application.xml中,redis默认使用库,1;front的application.xml中,redis默认使用库,10。
目前遇到商户在后端修改分类后,redis缓存会自动更新一次,但是商户端和商城使用不同redis库,导致商城的分类并未更新。
admin和front可以使用同一个redis库吗?如果不行有没有什么办法可以方便更新前端缓存?
我看到admin的application.xml中,redis默认使用库,1;front的application.xml中,redis默认使用库,10。
目前遇到商户在后端修改分类后,redis缓存会自动更新一次,但是商户端和商城使用不同redis库,导致商城的分类并未更新。
admin和front可以使用同一个redis库吗?如果不行有没有什么办法可以方便更新前端缓存?
杨林 最后编辑于2026-07-18 18:06:25
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}} LV.{{ item.user_info.bbs_level || item.bbs_level }}
{{itemf.name}}
打赏
已打赏¥{{item.reward_price}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}
打赏
已打赏¥{{itemc.reward_price}}
打赏
已打赏¥{{reward_price}}
热门文章
推荐板块
快速安全登录
微信登录/注册
{{ bind_phone ? '绑定手机' : '手机登录'}}