From 67801c2c30b3883a6a0822f4f627b24a5d201d0a Mon Sep 17 00:00:00 2001 From: hujiebin Date: Mon, 3 Apr 2023 10:24:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B5=8B=E6=9C=8D=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=A4=AA=E9=A2=91=E7=B9=81=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cron/group_cron/group_power_exp.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cron/group_cron/group_power_exp.go b/cron/group_cron/group_power_exp.go index 71ff508..b0b7070 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{}) -- 2.22.0