feat: 个人中心发布
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ func InitTimer() {
|
||||
option = append(option, cron.WithSeconds())
|
||||
|
||||
// 任务一:每天8点30执行 发送植物养护提醒
|
||||
_, err := global.Timer.AddTaskByFuncWithSecond("SendCareRemind", "0 30 8 * * *", func() {
|
||||
_, err := global.Timer.AddTaskByFuncWithSecond("SendCareRemind", "0 15 9 * * *", func() {
|
||||
err1 := task.SendCareMsg()
|
||||
if err1 != nil {
|
||||
global.Logger.Error("定时发送植物养护提醒失败", zap.Error(err1))
|
||||
|
||||
Reference in New Issue
Block a user