diff --git a/cron/group_cron/group_power_exp.go b/cron/group_cron/group_power_exp.go index 71ff508fc4d7b2ba7aba6599f7f241eba97d2815..b0b707036bab37c35ec219ef00e6e406f54ac75a 100644 --- a/cron/group_cron/group_power_exp.go +++ b/cron/group_cron/group_power_exp.go @@ -2,7 +2,6 @@ package group_cron import ( "git.hilo.cn/hilo-common/domain" - "git.hilo.cn/hilo-common/resource/config" "github.com/robfig/cron" "hilo-group/domain/event/group_power_ev" "hilo-group/domain/model/groupPower_m" @@ -30,9 +29,6 @@ func GroupPowerExpClear() { }) // 每月20号发家族即将过期通知 spec = "0 0 0 20 * ?" - if !config.AppIsRelease() { - spec = "0 0 */1 * * ?" - } _ = c.AddFunc(spec, func() { var model = domain.CreateModelNil() _ = group_power_ev.PublishGroupPowerExpireNotice(model, &group_power_ev.GroupPowerExpireNoticeEvent{})