diff --git a/cron/cron.go b/cron/cron.go index 4f1b9bf86f7eeaec1037db593bdea0f10836c00b..181ba0bbbcb84c2cf60f8a124a23578fdf57d7cf 100644 --- a/cron/cron.go +++ b/cron/cron.go @@ -16,5 +16,4 @@ func Init() { mic_cron.OnMicCheck() // 检查上麦 group_cron.GroupPowerExpClear() // 清理家族经验/等级 group_cron.GroupPowerMonthRankAct() - group_cron.BufaGroupPowerMonthRankAct() } diff --git a/cron/group_cron/group_power_month_act.go b/cron/group_cron/group_power_month_act.go index f60ee22a441055a94ddc5a275e8ee511736ea0a1..1f6f86ec09ba336a8085843d2a5696da0bdc9df1 100644 --- a/cron/group_cron/group_power_month_act.go +++ b/cron/group_cron/group_power_month_act.go @@ -21,15 +21,15 @@ func GroupPowerMonthRankAct() { c.Start() } -func BufaGroupPowerMonthRankAct() { - c := cron.New() - spec := "0 50 15 1 * ?" - _ = c.AddFunc(spec, func() { - var model = domain.CreateModelNil() - if err := group_power_s.BufaCalcGroupPowerMonthRankAct(model); err != nil { - model.Log.Errorf("BufaGroupPowerMonthRankAct fail:%v", err) - } - }) - - c.Start() -} +//func BufaGroupPowerMonthRankAct() { +// c := cron.New() +// spec := "0 50 15 1 * ?" +// _ = c.AddFunc(spec, func() { +// var model = domain.CreateModelNil() +// if err := group_power_s.BufaCalcGroupPowerMonthRankAct(model); err != nil { +// model.Log.Errorf("BufaGroupPowerMonthRankAct fail:%v", err) +// } +// }) +// +// c.Start() +//}