军团活动:修复rpc调用以及其他问题

This commit is contained in:
luying
2021-03-19 18:28:50 +08:00
parent 7324556852
commit f7627f85d1
23 changed files with 351 additions and 109 deletions
+10
View File
@@ -123,6 +123,14 @@ app.configure('production|development|alpha|dev|isbn', 'gm', function () {
init();//将gm后台数据加载到gate服
});
app.configure('production|development|alpha|dev|isbn', 'guild', function () {
app.set('connectorConfig',
{
connector: pinus.connectors.hybridconnector,
useProtobuf: true
});
});
app.configure('production|development|alpha|dev|isbn', 'systimer', function () {
app.set('connectorConfig',
{
@@ -176,6 +184,7 @@ app.configure('production|development|alpha|dev|isbn', function () {
app.route('chat', routeUtil.chat);
app.route('battle', routeUtil.battle);
app.route('gm', routeUtil.gm);
app.route('guild', routeUtil.guild);
// filter configures
app.filter(new pinus.filters.time());
@@ -198,6 +207,7 @@ app.configure('production|development|alpha|dev|isbn', function () {
});
});
app.configure('development', function () {
// enable the system monitor modules
app.enable('systemMonitor');