添加测试角色接口; 优化初始化数据的返回

This commit is contained in:
liangtongchuan
2020-09-02 15:38:27 +08:00
parent dbdb11692c
commit 2298f36f02
7 changed files with 127 additions and 26 deletions
+6
View File
@@ -16,6 +16,9 @@ module.exports = {
{'id': 'chat-server-2', 'host': '127.0.0.1', 'port': 6051, 'args': '--inspect=10004'},
{'id': 'chat-server-3', 'host': '127.0.0.1', 'port': 6052, 'args': '--inspect=10005'}
],
'role': [
{'id': 'role-server-1', 'host': '127.0.0.1', 'port': 6053, 'args': '--inspect=10006'}
],
'gate': [
{
'id': 'gate-server-1',
@@ -38,6 +41,9 @@ module.exports = {
{'id': 'chat-server-2', 'host': '127.0.0.1', 'port': 6051},
{'id': 'chat-server-3', 'host': '127.0.0.1', 'port': 6052}
],
'role': [
{'id': 'role-server-1', 'host': '127.0.0.1', 'port': 6053, 'args': '--inspect=10006'}
],
'gate': [
{'id': 'gate-server-1', 'host': '127.0.0.1', 'clientHost': 'pinus_test.trgame.cn', 'clientPort': 3014, 'frontend': true}
]