diff --git a/app/core/nice/event/shop.py b/app/core/nice/event/shop.py index 64b36f27..707c0e8b 100644 --- a/app/core/nice/event/shop.py +++ b/app/core/nice/event/shop.py @@ -113,6 +113,8 @@ def get_nice_shop( ), background=NiceItemBGType.zero, value=0, + eventId=0, + eventGroupId=0, priority=0, dropPriority=0, startedAt=0, diff --git a/app/core/nice/item.py b/app/core/nice/item.py index 1f11af70..82be2306 100644 --- a/app/core/nice/item.py +++ b/app/core/nice/item.py @@ -72,6 +72,8 @@ def get_nice_item_from_raw( icon=icon_url, background=ITEM_BG_TYPE_NAME.get(raw_item.bgImageId, NiceItemBGType.unknown), value=raw_item.value, + eventId=raw_item.eventId, + eventGroupId=raw_item.eventGroupId, priority=raw_item.priority, dropPriority=raw_item.dropPriority, startedAt=raw_item.startedAt, diff --git a/app/schemas/nice.py b/app/schemas/nice.py index 62869163..3651bcb9 100644 --- a/app/schemas/nice.py +++ b/app/schemas/nice.py @@ -233,6 +233,8 @@ class NiceItem(BaseModelORJson): icon: HttpUrl background: NiceItemBGType value: int + eventId: int + eventGroupId: int priority: int dropPriority: int startedAt: int