feat: 徽章处理

This commit is contained in:
Blizzard
2026-02-14 15:35:12 +08:00
parent 4ffc41ea84
commit 3f50901ac6
10 changed files with 157 additions and 8 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ func InitTimer() {
option = append(option, cron.WithSeconds())
// 任务一:每天8点30执行 发送植物养护提醒
_, err := global.Timer.AddTaskByFuncWithSecond("SendCareRemind", "0 15 9 * * *", func() {
_, err := global.Timer.AddTaskByFuncWithSecond("SendCareRemind", "0 30 8 * * *", func() {
err1 := task.SendCareMsg()
if err1 != nil {
global.Logger.Error("定时发送植物养护提醒失败", zap.Error(err1))