trade/huaxin/trade_server.py
@@ -650,6 +650,7 @@ cpu_percent = psutil.cpu_percent(interval=1) fdata["device"] = {"cpu": cpu_percent, "memery": memory_info.percent} result = {"code": 0, "data": fdata, "msg": ""} print("OnGetEnvInfo 成功") self.send_response(result, client_id, request_id) except Exception as e: self.send_response({"code": 1, "msg": str(e)}, client_id, request_id)