Keep refine the structure.

This commit is contained in:
zicla
2019-04-26 02:38:53 +08:00
parent b3c52ea50e
commit 8edc30babc
11 changed files with 56 additions and 50 deletions

View File

@ -6,6 +6,7 @@ import (
"os"
"regexp"
"strings"
"tank/rest/download"
"tank/rest/result"
"tank/rest/tool"
)
@ -64,7 +65,7 @@ func (this *MatterService) DownloadFile(
filename string,
withContentDisposition bool) {
tool.DownloadFile(writer, request, filePath, filename, withContentDisposition)
download.DownloadFile(writer, request, filePath, filename, withContentDisposition)
}
//删除文件