From 70deb716169f40cc9934c78167585bc47870515b Mon Sep 17 00:00:00 2001 From: Aaron <674560606@qq.com> Date: Fri, 19 Feb 2021 19:31:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC=E9=80=82?= =?UTF-8?q?=E9=85=8Dws=E4=BE=9D=E8=B5=96=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_beauty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jd_beauty.js b/jd_beauty.js index 479ee323..c9665904 100644 --- a/jd_beauty.js +++ b/jd_beauty.js @@ -87,7 +87,7 @@ async function mr() { $.tokens = [] $.pos = [] $.helpInfo = [] - const WebSocket = require('websocket').w3cwebsocket + const WebSocket = require('ws') let client = new WebSocket(`wss://xinruimz-isv.isvjcloud.com/wss/?token=${$.token}`) client.onopen = async () => { console.log(`美容研究院服务器连接成功`);