✨ feat(gvg): 添加贡献等接口
This commit is contained in:
+5
-2
@@ -33,7 +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';
|
||||
import { setGVGConfig, setGVGServerGroup } from './app/services/gvg/gvgService';
|
||||
|
||||
const filePath = (_pinus as any).FILEPATH;
|
||||
filePath.MASTER = '/config/master';
|
||||
@@ -201,8 +201,11 @@ async function treatStartLogic(app: _pinus.Application) {
|
||||
if(app.getServerType() != 'systimer') {
|
||||
timeTaskService.initHiddenData();
|
||||
}
|
||||
if(app.getServerType() == 'battle'|| app.getServerType() == 'chat'|| app.getServerType() == 'connector') {
|
||||
if(app.getServerType() == 'guild'|| app.getServerType() == 'chat'|| app.getServerType() == 'connector') {
|
||||
setGVGServerGroup();
|
||||
if(app.getServerType() == 'guild') {
|
||||
setGVGConfig();
|
||||
}
|
||||
}
|
||||
|
||||
if(app.isMaster()) {
|
||||
|
||||
Reference in New Issue
Block a user