🐞 fix(gvg): 修改千机阁推送路径和格式

This commit is contained in:
luying
2023-02-24 19:08:09 +08:00
parent 154c30cd0f
commit 6bbd5e9dd3
2 changed files with 5 additions and 5 deletions

View File

@@ -389,7 +389,7 @@ export class GVGHandler {
// 推送千机阁解锁消息
let curQueue = leaguePrepare.techQueue.find(cur => cur.id == techId);
await pushTechChange(myLeague.guildCodes, PUSH_ROUTE.LEAGUE_TECH_UNLOCK, techId, curQueue.progress, curQueue.maxProgress);
await pushTechChange(myLeague.guildCodes, false, techId, curQueue.progress, curQueue.maxProgress);
return resResult(STATUS.SUCCESS, {
queue: leaguePrepare?.techQueue||[]
@@ -453,7 +453,7 @@ export class GVGHandler {
checkGVGTask(serverId, roleId, sid, configId, myLeague.leagueCode, TASK_TYPE.GVG_TECH, { count: 1 });
// 推送千机阁激活消息
await pushTechChange(myLeague.guildCodes, PUSH_ROUTE.LEAGUE_TECH_ACITVE, techId, curQueue.progress, curQueue.maxProgress);
await pushTechChange(myLeague.guildCodes, true, techId, curQueue.progress, curQueue.maxProgress);
return resResult(STATUS.SUCCESS, {
active,