Merge branch 'feature/login'
Conflicts: game-server/app/servers/role/handler/heroHandler.ts game-server/app/services/redisService.ts shared/consts/index.ts shared/resource/jsons/dic_zyz_gk_main.json
This commit is contained in:
+6
-6
@@ -62,7 +62,7 @@ app.configure(function() {
|
||||
}
|
||||
});
|
||||
|
||||
const redisClient = connectRedis(app.get('database').redis);
|
||||
const redisClient = connectRedis(app.get('database').redis, app.get('database').redispw);
|
||||
app.set('redis', redisClient);
|
||||
redLockService.initRedlock(redisClient);
|
||||
redlockCacheService.init();
|
||||
@@ -78,7 +78,7 @@ app.configure(function() {
|
||||
});
|
||||
|
||||
// app configuration
|
||||
app.configure('production|development|alpha|dev', 'connector', function () {
|
||||
app.configure('production|development|alpha|dev|isbn', 'connector', function () {
|
||||
app.set('connectorConfig',
|
||||
{
|
||||
connector: pinus.connectors.hybridconnector,
|
||||
@@ -103,7 +103,7 @@ app.configure('production|development|alpha|dev', 'connector', function () {
|
||||
});
|
||||
});
|
||||
|
||||
app.configure('production|development|alpha|dev', 'gate', function () {
|
||||
app.configure('production|development|alpha|dev|isbn', 'gate', function () {
|
||||
app.set('connectorConfig',
|
||||
{
|
||||
connector: pinus.connectors.hybridconnector,
|
||||
@@ -111,7 +111,7 @@ app.configure('production|development|alpha|dev', 'gate', function () {
|
||||
});
|
||||
});
|
||||
|
||||
app.configure('production|development|alpha|dev', 'gm', function () {
|
||||
app.configure('production|development|alpha|dev|isbn', 'gm', function () {
|
||||
app.set('connectorConfig',
|
||||
{
|
||||
connector: pinus.connectors.hybridconnector,
|
||||
@@ -120,7 +120,7 @@ app.configure('production|development|alpha|dev', 'gm', function () {
|
||||
init();//将gm后台数据加载到gate服
|
||||
});
|
||||
|
||||
app.configure('production|development|alpha|dev', 'systimer', function () {
|
||||
app.configure('production|development|alpha|dev|isbn', 'systimer', function () {
|
||||
app.set('connectorConfig',
|
||||
{
|
||||
connector: pinus.connectors.hybridconnector,
|
||||
@@ -154,7 +154,7 @@ export function globalErrorHandler(err: Error, msg: any, resp: any,
|
||||
}
|
||||
|
||||
// app configure
|
||||
app.configure('production|development|alpha|dev', function () {
|
||||
app.configure('production|development|alpha|dev|isbn', function () {
|
||||
app.set(RESERVED.ERROR_HANDLER, errorHandler);
|
||||
app.set(RESERVED.GLOBAL_ERROR_HANDLER, globalErrorHandler);
|
||||
app.globalAfter((err: Error, routeRecord: RouteRecord, msg: any, session: FrontendOrBackendSession, resp: any, cb: HandlerCallback) => {
|
||||
|
||||
Reference in New Issue
Block a user