diff --git a/game-server/config/servers.ts b/game-server/config/servers.ts index 05c2b875d..57dee7e87 100644 --- a/game-server/config/servers.ts +++ b/game-server/config/servers.ts @@ -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 } diff --git a/shared/db/RScriptRecord.ts b/shared/db/RScriptRecord.ts index 9d4f9fcb9..e3c53f590 100644 --- a/shared/db/RScriptRecord.ts +++ b/shared/db/RScriptRecord.ts @@ -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); } }