Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo struct {
Ctx g.Ctx //上下文
File *ghttp.UploadFile
Files []*multipart.FileHeader
Name string `json:"name" dc:"自定义文件名称"` // 自定义文件名称
PathR string `json:"pathR" dc:"自定义二级文件目录"` // 自定义二级文件目录
RandomName bool `json:"randomName" dc:"是否随机命名文件"` // 是否随机命名文件
FileType string `json:"fileType" dc:"文件类型"` // 文件类型
}
文件对象
Click to show internal directories.
Click to hide internal directories.