From 32b2db1cd68dd71a7093687b7752215f6ecb2cf8 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Thu, 26 Dec 2024 19:34:36 +0800 Subject: [PATCH] fix: update file name --- .../{hdl_level__management.go => hdl_level_management.go} | 0 .../{hdl_tag__management.go => hdl_tag_management.go} | 0 .../{svc_tag__management.go => svc_tag_management.go} | 0 app/task/svc/svc_egg_energy_automatic_scoring.go | 1 + 4 files changed, 1 insertion(+) rename app/hdl/member_center/{hdl_level__management.go => hdl_level_management.go} (100%) rename app/hdl/member_center/{hdl_tag__management.go => hdl_tag_management.go} (100%) rename app/svc/member_center/{svc_tag__management.go => svc_tag_management.go} (100%) diff --git a/app/hdl/member_center/hdl_level__management.go b/app/hdl/member_center/hdl_level_management.go similarity index 100% rename from app/hdl/member_center/hdl_level__management.go rename to app/hdl/member_center/hdl_level_management.go diff --git a/app/hdl/member_center/hdl_tag__management.go b/app/hdl/member_center/hdl_tag_management.go similarity index 100% rename from app/hdl/member_center/hdl_tag__management.go rename to app/hdl/member_center/hdl_tag_management.go diff --git a/app/svc/member_center/svc_tag__management.go b/app/svc/member_center/svc_tag_management.go similarity index 100% rename from app/svc/member_center/svc_tag__management.go rename to app/svc/member_center/svc_tag_management.go diff --git a/app/task/svc/svc_egg_energy_automatic_scoring.go b/app/task/svc/svc_egg_energy_automatic_scoring.go index a27f76a..c149aeb 100644 --- a/app/task/svc/svc_egg_energy_automatic_scoring.go +++ b/app/task/svc/svc_egg_energy_automatic_scoring.go @@ -35,6 +35,7 @@ func EggEnergyAutomaticScoring(engine *xorm.Engine) { return } cache.SetEx(EggEnergyAutomaticScoringLockKey, "running", 3600*6) // 6小时 + defer cache.Del(EggEnergyAutomaticScoringLockKey) now := time.Now() fmt.Println(now.Hour())