|
@@ -146,8 +146,6 @@ func DeleteAttachment(ctx *context.Context) { |
|
|
|
|
|
|
|
|
DeleteAllUnzipFile(attach, "") |
|
|
DeleteAllUnzipFile(attach, "") |
|
|
|
|
|
|
|
|
TimingCountData() |
|
|
|
|
|
|
|
|
|
|
|
_, err = models.DeleteFileChunkById(attach.UUID) |
|
|
_, err = models.DeleteFileChunkById(attach.UUID) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
ctx.Error(500, fmt.Sprintf("DeleteFileChunkById: %v", err)) |
|
|
ctx.Error(500, fmt.Sprintf("DeleteFileChunkById: %v", err)) |
|
|