ChatServer支持跨服务器通信功能 我们将redis在项目代码中的添加! 1、完善chatservice.hpp 我们完善chatservice.hpp #ifndef CHATSERVICE_H #define CHATSERVICE_H #include <muduo/net/TcpConnection.h>