diff --git a/cron/group_cron/group_list.go b/cron/group_cron/group_list.go index dd56c6ad5223df5c80624e4dff47f4262e121a04..7f26ad7ddde6404c8bafd897060b8cd001ac007e 100644 --- a/cron/group_cron/group_list.go +++ b/cron/group_cron/group_list.go @@ -14,14 +14,18 @@ func GroupCountryListSort() { c := cron.New() _ = c.AddFunc(spec, func() { var model = domain.CreateModelNil() + model.Log.Infof("GroupCountryListSort Common start") group_s.SortGroupCommonCountryList(model) + model.Log.Infof("GroupCountryListSort Common end") }) // 非常用国家-每60分钟计算国家房间列表排序 /v1/imGroup/country [get] 接口 spec2 := "0 43 * * * ?" _ = c.AddFunc(spec2, func() { var model = domain.CreateModelNil() + model.Log.Infof("GroupCountryListSort not Common start") group_s.SortGroupNotCommonCountryList(model) + model.Log.Infof("GroupCountryListSort not Common end") }) c.Start()