Modify: use uri parameter in Get File

This commit is contained in:
HFO4
2019-11-29 15:24:23 +08:00
parent 2c2ee5b1c1
commit 0cbbe5bb79
5 changed files with 15 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ import (
// FileDownloadService 文件下载服务path为文件完整路径
type FileDownloadService struct {
Path string `form:"path" binding:"required,min=1,max=65535"`
Path string `uri:"path" binding:"required,min=1,max=65535"`
}
// Download 文件下载