feat(gvg): 便捷管理页面

This commit is contained in:
luying
2023-03-28 13:35:27 +08:00
parent 6218378030
commit 5bd61ed0b3
9 changed files with 134 additions and 2 deletions

View File

@@ -97,6 +97,8 @@ export class GVGHandler {
let { configId, period, countdownTime } = getGVGPeriodData();
let { startFightTime, endFightTime } = getFightTimeByPeriod(period);
let leaguePrepare = await GVGLeaguePrepareModel.findByLeague(configId, myLeague.leagueCode);
let groupKey = await getGroupKey(serverId);
let cities = await getGVGCitiesInfo(configId, groupKey, myLeague);
let vestiges = await getMyVestiges(serverId, roleId);
@@ -105,6 +107,8 @@ export class GVGHandler {
return resResult(STATUS.SUCCESS, {
configId, period, countdownTime, startFightTime, endFightTime,
targetCities: leaguePrepare?.targetCities||[],
notice: leaguePrepare?.notice||'',
cities,
vestiges
});