一、请求方法 import websocket import _thread as thread import time def on_message(ws, message): """收到对方消息处理方法""" print("对方发来的消息:",