测试:添加监控服server条数
This commit is contained in:
@@ -232,7 +232,9 @@ module.exports = {
|
|||||||
{ 'id': 'chat-server-1', 'host': '127.0.0.1', 'port': 6050 },
|
{ 'id': 'chat-server-1', 'host': '127.0.0.1', 'port': 6050 },
|
||||||
],
|
],
|
||||||
'role': [
|
'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': [
|
'battle': [
|
||||||
{ 'id': 'battle-server-1', 'host': '127.0.0.1', 'port': 6054 }
|
{ 'id': 'battle-server-1', 'host': '127.0.0.1', 'port': 6054 }
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ export default class RScriptRecord extends BaseModel {
|
|||||||
if(dicWar.scriptAfter) param.scriptAfter = dicWar.scriptAfter;
|
if(dicWar.scriptAfter) param.scriptAfter = dicWar.scriptAfter;
|
||||||
return param;
|
return param;
|
||||||
});
|
});
|
||||||
console.log('&&&&', insertParams)
|
// console.log('&&&&', insertParams)
|
||||||
return await RScriptRecordModel.insertMany(insertParams);
|
return await RScriptRecordModel.insertMany(insertParams);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user