fix(admin): resolve CI lint and user subscriptions regression

This commit is contained in:
xvhuan
2026-03-04 14:07:17 +08:00
parent 80ae592c23
commit f6fe5b552d
4 changed files with 15 additions and 10 deletions

View File

@@ -35,12 +35,12 @@ func buildAccountTodayStatsBatchCacheKey(accountIDs []int64) string {
}
var b strings.Builder
b.Grow(len(accountIDs) * 6)
b.WriteString("accounts_today_stats:")
_, _ = b.WriteString("accounts_today_stats:")
for i, id := range accountIDs {
if i > 0 {
b.WriteByte(',')
_ = b.WriteByte(',')
}
b.WriteString(strconv.FormatInt(id, 10))
_, _ = b.WriteString(strconv.FormatInt(id, 10))
}
return b.String()
}