Documentation ¶
Index ¶
- Variables
- func AddContent(ctx iris.Context)
- func GetContent(ctx iris.Context)
- func GetReferenceFile(ctx iris.Context)
- func UpdateContent(ctx iris.Context)
- func UploadFile(ctx iris.Context)
- type AddContentReq
- type GetContentReq
- type GetReferenceFileReq
- type ResponseContent
- type UpdateContentReq
- type UploadFileReq
Constants ¶
This section is empty.
Variables ¶
View Source
var (
GetReferenceFilePrefix = "v1/content/GetReferenceFile?objectKey="
)
Functions ¶
func AddContent ¶
func AddContent(ctx iris.Context)
func GetContent ¶
func GetContent(ctx iris.Context)
func GetReferenceFile ¶
func GetReferenceFile(ctx iris.Context)
func UpdateContent ¶
func UpdateContent(ctx iris.Context)
Types ¶
type AddContentReq ¶
type GetContentReq ¶
type ResponseContent ¶
type UpdateContentReq ¶
type UploadFileReq ¶
type UploadFileReq struct { Name string `json:"name"` Catalog string `json:"catalog"` Type string `json:"type"` //类型有file/picture/short-video/long-video/audio }
上传文件、类型、所属分类
Click to show internal directories.
Click to hide internal directories.