🐞 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

@@ -470,10 +470,10 @@ export function checkItemCanUserInFarm(farmId: number, itemId: number) {
}
// 推送千机阁状态变化
export async function pushTechChange(guildCodes: string[], route: string, id: number, progress: number, maxProgress: number) {
export async function pushTechChange(guildCodes: string[], isActive: boolean, id: number, progress: number, maxProgress: number) {
for(let guildCode of guildCodes) {
await sendMessageToGuildWithSuc(guildCode, route, {
id, progress, maxProgress
await sendMessageToGuildWithSuc(guildCode, PUSH_ROUTE.LEAGUE_TECH_CHANGE, {
id, progress, maxProgress, isActive
});
}
}