20260629154839

This commit is contained in:
oneao committed 2026-06-29 15:48:39 +08:00
1 parent e687846eb4
commit bb596f3245
41 files changed
+5735 -86

No files matched your search

+2 -2
View File
@@ -257,9 +257,9 @@ func registerUser(
ext = ".jpg" // 兜底
}
// 年月日 + uuid
// 注册头像没有家庭上下文,单独放到 avatar 前缀下。
now := time.Now()
key := fmt.Sprintf("%d/%02d/%02d/%s%s",
key := fmt.Sprintf("avatar/%d/%02d/%02d/%s%s",
now.Year(),
now.Month(),
now.Day(),