diff --git a/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/event/SuperBoxEvent.java b/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/event/SuperBoxEvent.java index b0448c93f..0f7e27354 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/event/SuperBoxEvent.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/logic/activity/event/SuperBoxEvent.java @@ -1,5 +1,7 @@ package com.ljsd.jieling.logic.activity.event; +import org.springframework.data.domain.PageRequest; + /** * @Author hj * @Date 2021/5/26 11:05 @@ -30,7 +32,11 @@ public class SuperBoxEvent implements IEvent { * 数量 */ private int num; - + /** + * 礼包类别 + * 1:rmb礼包,2:妖晶礼包 + */ + private int type; public SuperBoxEvent(int userId, int giftId) { this.userId = userId; @@ -38,10 +44,19 @@ public class SuperBoxEvent implements IEvent { this.num = 1; } - public SuperBoxEvent(int userId, int giftId, int num) { + public SuperBoxEvent(int userId, int giftId, int num, int type) { this.userId = userId; this.giftId = giftId; this.num = num; + this.type = type; + } + + public int getType() { + return type; + } + + public void setType(int type) { + this.type = type; } public int getUserId() {