More Standardization

This commit is contained in:
akrike
2025-07-06 19:52:00 +08:00
parent ec9f1fefdb
commit 0db3e60460
9 changed files with 6 additions and 63 deletions

View File

@@ -54,8 +54,6 @@ func (t *taskLogic) InitTaskJob() {
func (t *taskLogic) cronHandle(data *model.TaskJob) func() {
return func() {
log.Logger.AddAdditionalInfo("id", data.Task.Id)
defer log.Logger.DeleteAdditionalInfo(1)
log.Logger.Infow("定时任务启动")
if data.Running {
log.Logger.Infow("任务已在运行,跳过当前任务")