add apis

This commit is contained in:
2025-03-06 00:08:16 +08:00
parent d8d98eb31c
commit 7b2b6cc76b
15 changed files with 607 additions and 42 deletions

View File

@@ -163,7 +163,7 @@ func (l *UploadShareImageLogic) uploadImageAndRecord(tx *query.QueryTx, uid stri
UserID: uid,
Path: originObjectKey,
FileName: img.FileName,
FileSize: strconv.Itoa(size),
FileSize: int64(size),
FileType: img.FileType,
Width: float64(width),
Height: float64(height),