|
|
@@ -851,8 +851,9 @@ func (this *RoleActivity) DailyReset(notify bool) {
|
|
|
if len(addActivityNtfMsg.ActivityList) > 0 {
|
|
|
this.role.ReplayGate(addActivityNtfMsg, true)
|
|
|
}
|
|
|
- this.SuperChargeUnlockCheck(serverproto.UnlockChargeType_UChargeType_DailyGift, &SuperChargeUnlockST{oldValue: 0})
|
|
|
}
|
|
|
+ util.ErrorF("reset activity notify=%v")
|
|
|
+ this.SuperChargeUnlockCheck(serverproto.UnlockChargeType_UChargeType_DailyGift, &SuperChargeUnlockST{oldValue: 0})
|
|
|
}
|
|
|
|
|
|
func (this *RoleActivity) StartupNtf() {
|
|
|
@@ -2096,8 +2097,10 @@ func (this *RoleActivity) SuperChargeUnlockCheck(unlockType serverproto.UnlockCh
|
|
|
bAdd := false
|
|
|
typeSuperList, ok := model.ConvertActDiscountsRechargeList[int32(unlockType)]
|
|
|
if !ok {
|
|
|
+ //util.ErrorF("list:%v", model.ConvertActDiscountsRechargeList)
|
|
|
return
|
|
|
}
|
|
|
+ //util.ErrorF("list2:%v", model.ConvertActDiscountsRechargeList)
|
|
|
for idx := 0; idx < len(typeSuperList); idx++ {
|
|
|
cfgData := typeSuperList[idx]
|
|
|
//for _, cfgData := range typeSuperList {
|