From 7318b814ea60a94450cdf5360044e82e4009dd7a Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Wed, 2 Apr 2025 22:51:08 +0800 Subject: [PATCH] salarybill3 --- worker/worker.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worker/worker.go b/worker/worker.go index b88aa1c..6f49b7d 100644 --- a/worker/worker.go +++ b/worker/worker.go @@ -49,7 +49,7 @@ func InitCorp1002(cron *gocron.Scheduler) { }) //10号晚上8点发送工资单 - cron.Every(1).Month(2).At("22:50").Do(func() { + cron.Every(1).Month(2).At("23:00").Do(func() { go staff.SendStaffSalaryBill(corpId, time.Now().AddDate(0, -1, 0).Format("200601")) //go staff.SendStaffSalaryBill(1002, time.Now().AddDate(0, -1, 0).Format("200601")) }) @@ -90,7 +90,7 @@ func InitCorp1000(cron *gocron.Scheduler) { }) //10号晚上8点发送工资单 - cron.Every(1).Month(2).At("22:50").Do(func() { + cron.Every(1).Month(2).At("23:00").Do(func() { go NewStaff().SendStaffSalaryBill(corpId, time.Now().AddDate(0, -1, 0).Format("200601")) })