测试:添加监控服server条数

This commit is contained in:
luying
2021-10-08 20:18:28 +08:00
parent 3cab2d4db4
commit 5d28f0f75a
2 changed files with 4 additions and 2 deletions

View File

@@ -232,7 +232,9 @@ module.exports = {
{ 'id': 'chat-server-1', 'host': '127.0.0.1', 'port': 6050 },
],
'role': [
{ 'id': 'role-server-1', 'host': '127.0.0.1', 'port': 6053 }
{ 'id': 'role-server-1', 'host': '127.0.0.1', 'port': 6053 },
{ 'id': 'role-server-2', 'host': '127.0.0.1', 'port': 6061 },
{ 'id': 'role-server-3', 'host': '127.0.0.1', 'port': 6062 }
],
'battle': [
{ 'id': 'battle-server-1', 'host': '127.0.0.1', 'port': 6054 }

View File

@@ -53,7 +53,7 @@ export default class RScriptRecord extends BaseModel {
if(dicWar.scriptAfter) param.scriptAfter = dicWar.scriptAfter;
return param;
});
console.log('&&&&', insertParams)
// console.log('&&&&', insertParams)
return await RScriptRecordModel.insertMany(insertParams);
}
}