主要参考这篇文章redis
https://www.jianshu.com/p/bb7c19c5fc47
当后续电脑关机后,重开,redis被断开或出现如下报错执行spa
redis-server
重启服务code