Documentation ¶
Index ¶
Constants ¶
View Source
const BehaviorName = `upload`
Variables ¶
This section is empty.
Functions ¶
func ParseSizeBytes ¶
Types ¶
type CustomerUpload ¶
type CustomerUpload struct { MaxTotalNum uint64 `json:"maxTotalNum" xml:"maxTotalNum"` // 最大总数量 MaxTotalSize string `json:"maxTotalSize" xml:"maxTotalSize"` // 最大总尺寸 CanUploadSVG bool `json:"canUploadSVG" xml:"canUploadSVG"` // 可否上传SVG图片 CanUploadAvatar bool `json:"canUploadAvatar" xml:"canUploadAvatar"` // 可否上传头像 // contains filtered or unexported fields }
func (*CustomerUpload) Combine ¶
func (c *CustomerUpload) Combine(source interface{}) interface{}
func (*CustomerUpload) MaxTotalSizeBytes ¶
func (c *CustomerUpload) MaxTotalSizeBytes() uint64
Click to show internal directories.
Click to hide internal directories.