添加服务器上线提示。

This commit is contained in:
murmur 2023-03-19 14:04:40 +08:00
parent 887838e69f
commit 9bfd181869

View File

@ -354,6 +354,7 @@ if __name__ == "__main__":
server = socketserver.ThreadingTCPServer(("", 7222), MyServer)
add_timestamp()
print("服务端初始化成功。", server.server_address)
s2wx("天通消息","服务器上线","服务器成功上线")
server.timeout = 10
server.serve_forever()