From 32a5f497826e882106cacf86acc38e8932dd0349 Mon Sep 17 00:00:00 2001 From: duhui Date: Thu, 9 Dec 2021 11:44:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9E=E7=BB=AD=E7=A4=BC=E5=8C=85=E8=A1=A5?= =?UTF-8?q?=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../logic/activity/event/SuperBoxEvent.java | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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() {