军团活动:修复rpc调用以及其他问题
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user