Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEmpty = errors.New("请上传正确的文件")
)
Functions ¶
func UploadFile ¶
func UploadFile(ctx iris.Context, fh *multipart.FileHeader) (iris.Map, error)
UploadFile 上传文件
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.