This commit is contained in:
aozhiwei 2022-04-28 14:38:29 +08:00
parent fe3591928b
commit e2f86e3393
2 changed files with 12 additions and 0 deletions

View File

@ -6,6 +6,7 @@ const urls = {
'service': 'https://service-z2-test.cebg.games',
'gamelog': 'https://gamelog-z2-test.cebg.games',
'mail': 'https://gamemail-z2-test.cebg.games',
'stat': 'https://stat-z2-test.cebg.games',
'game2006api': 'https://game2006api-z2-test.cebg.games',
'relation': 'ws://relation-z2-test.cebg.games/friend/websocket',
'game2006': 'ws://game2006-z2-test.cebg.games',

View File

@ -52,6 +52,7 @@ class TestCase {
await this.step8();
await this.step9();
await this.step10();
await this.step11();
}
async step1() {
@ -173,6 +174,16 @@ class TestCase {
console.log('game2006-n1 getNodeId@Ops', String(err), response);
}
async step11() {
const {err, response} = await httpGet(
this.urls['stat'] + '/webapp/index.php',
{
'c': 'Ops',
'a': 'selfChecking',
});
console.log('stat selfChecking@Ops', String(err), response);
}
}
module.exports = TestCase;