✨ feat(gvg): 组建期
This commit is contained in:
@@ -33,6 +33,7 @@ import { loadGmDb } from './app/db';
|
||||
import { loadActivities } from './app/services/activity/activityRemoteService';
|
||||
import { checkAndSetApiIsClose } from './app/services/chatService';
|
||||
import { initGuildActivityIndexInPinus, resetJoinWoodenHorse } from './app/services/guildActivity/guildActivityService';
|
||||
import { setGVGServerGroup } from './app/services/gvg/gvgService';
|
||||
|
||||
const filePath = (_pinus as any).FILEPATH;
|
||||
filePath.MASTER = '/config/master';
|
||||
@@ -192,6 +193,7 @@ async function treatStartLogic(app: _pinus.Application) {
|
||||
if(app.getServerType() == 'guild') {
|
||||
initGuildActivityIndexInPinus()
|
||||
.then(resetJoinWoodenHorse);
|
||||
setGVGServerGroup();
|
||||
}
|
||||
if(app.getServerType() == 'battle'|| app.getServerType() == 'role'|| app.getServerType() == 'connector') {
|
||||
timeTaskService.setPvpSeasonNum();
|
||||
|
||||
Reference in New Issue
Block a user