generated from root/miduo_server
增加礼物推送礼包
parent
7d29ea90f1
commit
33b68dbd70
|
@ -233,7 +233,7 @@ public class GetPlayerInfoHandler extends BaseHandler {
|
|||
int hour = calendar.get(Calendar.HOUR_OF_DAY);
|
||||
int minute = calendar.get(Calendar.MINUTE);
|
||||
int w = calendar.get(Calendar.DAY_OF_WEEK) - 1;
|
||||
BuyGoodsLogic.openPush(userId,PushRechargeType.week_day.getType(),w,w);
|
||||
BuyGoodsLogic.openPush(userId,PushRechargeType.week_day.getType(),w,1);
|
||||
int trainTaskCurLevel = MissionLoigc.getTrainTaskCurLevel(user.getUserMissionManager());
|
||||
PlayerInfoProto.GetPlayerInfoResponse getPlayerInfoResponse
|
||||
= PlayerInfoProto.GetPlayerInfoResponse.newBuilder()
|
||||
|
|
|
@ -43,6 +43,7 @@ import com.ljsd.jieling.logic.mission.event.MissionEventDistributor;
|
|||
import com.ljsd.jieling.logic.player.PlayerLogic;
|
||||
import com.ljsd.jieling.logic.privilegeCard.PrivilegeCardLogic;
|
||||
import com.ljsd.jieling.logic.store.BuyGoodsLogic;
|
||||
import com.ljsd.jieling.logic.store.PushRechargeType;
|
||||
import com.ljsd.jieling.logic.store.StoreLogic;
|
||||
import com.ljsd.jieling.logic.welfareCurrency.WelfareCurrencyLogic;
|
||||
import com.ljsd.jieling.netty.cocdex.PacketNetData;
|
||||
|
@ -439,6 +440,11 @@ public class GlobalDataManaager implements IManager {
|
|||
} else {
|
||||
playerInfoManager.setIsdayFirst(0);
|
||||
}
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
int hour = calendar.get(Calendar.HOUR_OF_DAY);
|
||||
int minute = calendar.get(Calendar.MINUTE);
|
||||
int w = calendar.get(Calendar.DAY_OF_WEEK) - 1;
|
||||
BuyGoodsLogic.openPush(user.getId(), PushRechargeType.week_day.getType(),w,1);
|
||||
}
|
||||
|
||||
//隔天刷新,不同天刷新,0点刷新
|
||||
|
|
Loading…
Reference in New Issue