salary bill time

This commit is contained in:
jiangyong27 2023-10-10 21:27:37 +08:00
parent b4531539ca
commit ff715ebbdf
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ func Init() error {
})
//10号晚上8点发送工资单
cron.Every(1).Month(1).At("20:00").Do(func() {
cron.Every(1).Month(10).At("22:00").Do(func() {
go SendStaffSalaryBill(time.Now().AddDate(0, -1, 0).Format("200601"))
})
cron.StartAsync()