🐞 fix(gvg): 修改千机阁推送路径和格式
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user