feat: fix issues

This commit is contained in:
rogeecn
2025-03-22 17:02:06 +08:00
parent 306491168c
commit 271b1a2230
3 changed files with 15 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ type uploads struct {
}
func (up *uploads) storagePath() string {
return filepath.Join(up.app.StoragePath, "uploads/tmp")
return filepath.Join(up.app.StoragePath, "uploads")
}
type UploadChunk struct {
@@ -32,7 +32,6 @@ type UploadFileInfo struct {
Md5 string `json:"md5"`
Filename string `json:"filename"`
Mime string `json:"mime"`
Size int64 `json:"size"`
Chunks int `json:"chunks"`
}