🐞 fix(gvg): 添加情报页面

This commit is contained in:
luying
2023-03-04 14:50:05 +08:00
parent c591213377
commit 34c75c65b1
9 changed files with 180 additions and 14 deletions

View File

@@ -1,5 +1,6 @@
import { Application, ChannelService, HandlerService, } from 'pinus';
import { setHiddenData } from '../../../services/dataService';
import { setGVGServerGroup } from '../../../services/gvg/gvgService';
import { errlogger } from '../../../util/logger';
export default function (app: Application) {
@@ -35,5 +36,13 @@ export class GMRemote {
errlogger.error(`remote ${__filename} \n ${e.stack}`);
}
}
public async setGVGServerGroup() {
try {
await setGVGServerGroup();
} catch(e) {
errlogger.error(`remote ${__filename} \n ${e.stack}`);
}
}
}