feat: fix issues
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user