Documentation
¶
Overview ¶
manage.go 存放图片管理相关的路由逻辑
Index ¶
- func BaseRouteFunc(ctx *gin.Context)
- func ImageGaussianBlur(ctx *gin.Context)
- func ImageGet(ctx *gin.Context)
- func ImageRemove(ctx *gin.Context)
- func ImageReplace(ctx *gin.Context)
- func ImageResize(ctx *gin.Context)
- func ImageUpload(ctx *gin.Context)
- type RtnJsonBase
- type RtnJsonImage
- type RtnJsonImageList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseRouteFunc ¶
func ImageGaussianBlur ¶
func ImageRemove ¶
func ImageReplace ¶
func ImageResize ¶
func ImageUpload ¶
Types ¶
type RtnJsonImage ¶
type RtnJsonImage struct {
RtnJsonBase
Data *models.Image `json:"data"`
}
图片返回数据
type RtnJsonImageList ¶
type RtnJsonImageList struct {
RtnJsonBase
Total int `json:"total"`
Data []*models.Image `json:"data"`
}
图片列表返回数据
Click to show internal directories.
Click to hide internal directories.