🐞 fix(gvg): 补充错误或遗漏的返回字段
This commit is contained in:
@@ -35,7 +35,7 @@ export async function addGVGReward(roleId: string, roleName: string, leagueCode:
|
||||
pushGoods.push({ id, count: item.count, expireTime: item.expireTime });
|
||||
}
|
||||
if(pushGoods.length > 0) {
|
||||
await sendMessageToUserWithSuc(roleId, PUSH_ROUTE.LEAGUE_ITEM_UPDATE, { goods: pushGoods }, sid);
|
||||
await sendMessageToUserWithSuc(roleId, PUSH_ROUTE.LEAGUE_ITEM_UPDATE, { items: pushGoods }, sid);
|
||||
}
|
||||
return returnGoods;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user