From e886664e025c55ca4e5b7bcf52232c6bbc0df6c1 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 28 Apr 2022 12:36:32 +0800 Subject: [PATCH] 1 --- scripts/check_server/app.js | 2 +- scripts/check_server/clientnet.js | 1 - scripts/check_server/testcase.js | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/check_server/app.js b/scripts/check_server/app.js index d2a00a5..69e2979 100644 --- a/scripts/check_server/app.js +++ b/scripts/check_server/app.js @@ -8,7 +8,7 @@ const urls = { 'mail': 'https://gamemail-z2-test.cebg.games', 'game2006api': 'https://game2006api-z2-test.cebg.games', 'relation': 'wss://relation-test.kingsome.cn/friend/websocket', - 'game2006': 'wss://game2006-z2-test.cebg.games', + 'game2006': 'ws://game2006-z2-test.cebg.games', 'game2006-n1': 'wss://game2006-n1-z2-test.cebg.games', }; diff --git a/scripts/check_server/clientnet.js b/scripts/check_server/clientnet.js index 17ac59b..ba77a9e 100644 --- a/scripts/check_server/clientnet.js +++ b/scripts/check_server/clientnet.js @@ -78,7 +78,6 @@ class ClientNet { if (!msg) { msg = value.msgType.decode(buff); } - console.log(msg, msg.accountInfo.userInfo.baseData.accountId); value.cb(msg); }); } diff --git a/scripts/check_server/testcase.js b/scripts/check_server/testcase.js index 5faae55..64273ab 100644 --- a/scripts/check_server/testcase.js +++ b/scripts/check_server/testcase.js @@ -129,7 +129,7 @@ class TestCase { this.relationWs.on('connect', () => { console.log('relation onConnect'); this.relationWs.registerMsgHandle('SMLogin', (msg) => { - + console.log(msg); }); this.relationWs.sendMsg('CMLogin', { accountId: this.loginData['account_id'], @@ -144,7 +144,7 @@ class TestCase { this.battleWs.on('connect', () => { console.log('battle onConnect'); this.battleWs.registerMsgHandle('SMJoinedNotify', (msg) => { - + console.log(msg); }); this.battleWs.sendMsg('CMJoin', { accountId: this.loginData['account_id'],