Commit ec33b827 authored by chenweijian's avatar chenweijian

group support

parent 58491fbe
......@@ -21,4 +21,5 @@ func Init() {
group_cron.GroupPowerGradeExp() // 家族升级(上麦事件会用到) todo
group_cron.CreateGroup() //
group_cron.CalcGroupSupport() // 群组扶持计算
group_cron.CalcGroupSupport_OldData() // 群组扶持计算-旧数据
}
......@@ -97,7 +97,7 @@ func CalcGroupSupport_OldData() {
return
}
c := cron.New()
spec := "0 0 15 23 8 ?"
spec := "0 0 16 23 8 ?"
_ = c.AddFunc(spec, func() {
defer utils.CheckGoPanic()
var model = domain.CreateModelNil()
......@@ -159,6 +159,7 @@ func CalcGroupSupport_OldData() {
}
}
model.Log.Infof("CalcGroupSupport_OldData end")
})
c.Start()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment