Loading... 1.修改配置文件 notify-keyspace-events Ex 当key失效时会发布消息 2.程序订阅消息 __keyevent@0__:expired 其中 0 为数据库索引 Last modification:August 13, 2019 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 0 如果觉得我的文章对你有用,请随意赞赏