mirror of
https://github.com/likeshop-github/likeadmin_go.git
synced 2025-12-24 13:07:57 +08:00
16 lines
685 B
Go
16 lines
685 B
Go
package resp
|
|
|
|
//CommonUploadFileResp 上传图片返回信息
|
|
type CommonUploadFileResp struct {
|
|
ID uint `json:"id" structs:"id"` // 主键
|
|
Cid uint `json:"cid" structs:"cid"` // 类目ID
|
|
Aid uint `json:"aid" structs:"aid"` // 管理ID
|
|
Uid uint `json:"uid" structs:"uid"` // 用户ID
|
|
Type int `json:"type" structs:"type"` // 文件类型: [10=图片, 20=视频]
|
|
Name string `json:"name" structs:"name"` // 文件名称
|
|
Uri string `json:"url" structs:"url"` // 文件路径
|
|
Path string `json:"path" structs:"path"` // 访问地址
|
|
Ext string `json:"ext" structs:"ext"` // 文件扩展
|
|
Size int64 `json:"size" structs:"size"` // 文件大小
|
|
}
|