feat: analysis user del

This commit is contained in:
zzw
2026-11-03 10:25:14 +08:00
parent fe3ca6f2c9
commit 8cbd2a7d8b
19 changed files with 567 additions and 170 deletions
-2
View File
@@ -14,8 +14,6 @@ import (
"github.com/google/uuid"
)
// PrepareImagePath 将上传字节或已有路径解析为 insightface 可读的本地路径。
// 返回 cleanup 用于删除临时文件(共享路径不删)。
func PrepareImagePath(file []byte, filePath string) (string, func(), error) {
noop := func() {}
if len(file) > utils.NumberZero {