This commit is contained in:
2025-09-30 17:44:18 +08:00
parent 898339fd5d
commit f4b7e6e2df
393 changed files with 4530 additions and 2061 deletions

View File

@@ -10,7 +10,7 @@ import (
"time"
"hm-server/common/globalkey"
"tydata-server/common/globalkey"
"github.com/Masterminds/squirrel"
"github.com/pkg/errors"
@@ -27,8 +27,8 @@ var (
adminPromotionLinkStatsHistoryRowsExpectAutoSet = strings.Join(stringx.Remove(adminPromotionLinkStatsHistoryFieldNames, "`id`", "`create_time`", "`update_time`"), ",")
adminPromotionLinkStatsHistoryRowsWithPlaceHolder = strings.Join(stringx.Remove(adminPromotionLinkStatsHistoryFieldNames, "`id`", "`create_time`", "`update_time`"), "=?,") + "=?"
cacheHmAdminPromotionLinkStatsHistoryIdPrefix = "cache:hm:adminPromotionLinkStatsHistory:id:"
cacheHmAdminPromotionLinkStatsHistoryLinkIdStatsDatePrefix = "cache:hm:adminPromotionLinkStatsHistory:linkId:statsDate:"
cacheHmAdminPromotionLinkStatsHistoryIdPrefix = "cache:tydata:adminPromotionLinkStatsHistory:id:"
cacheHmAdminPromotionLinkStatsHistoryLinkIdStatsDatePrefix = "cache:tydata:adminPromotionLinkStatsHistory:linkId:statsDate:"
)
type (