Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloadFuncService ¶
type DownloadFuncService struct {
funchandler.FuncService
}
@Title 文件名称: DownloadFuncService.go @Description 描述: DownloadFuncService
@Author 作者: leijianming@163.com 时间(2024-02-18 22:38:21) @Update 作者: leijianming@163.com 时间(2024-02-18 22:38:21)
func NewDownloadFuncService ¶
func NewDownloadFuncService() *DownloadFuncService
func (*DownloadFuncService) Execute ¶
func (this *DownloadFuncService) Execute(c *gin.Context)
@Summary 文件下载 @Tags 文件服务 @Description download命令
##// @Param filename query string true "filedown name"
@Success 200 {object} gin.Context @Router /filedown/download [post]
type Int641FuncService ¶
type Int641FuncService struct {
funchandler.FuncService
}
func NewInt641FuncService ¶
func NewInt641FuncService() *Int641FuncService
func (*Int641FuncService) Execute ¶
func (this *Int641FuncService) Execute(ctx *gin.Context)
@Summary int641 @Description 文件服务 @Tags 文件服务 @Produce json @Accept json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /filedown/int641 [post]
type Int64FuncService ¶
type Int64FuncService struct {
funchandler.FuncService
}
func NewInt64FuncService ¶
func NewInt64FuncService() *Int64FuncService
func (*Int64FuncService) Execute ¶
func (this *Int64FuncService) Execute(ctx *gin.Context)
@Summary Int64精度 @Description 文件服务 @Tags 文件服务 @Produce json @Accept json @Param X-Session-Token header string true "X-Session-Tiken" @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /filedown/int64 [post]
type Int64Stru1 ¶
type UploadFuncService ¶
type UploadFuncService struct {
funchandler.FuncService
}
@Title 文件名称: DownloadFuncService.go @Description 描述: DownloadFuncService
@Author 作者: leijianming@163.com 时间(2024-02-18 22:38:21) @Update 作者: leijianming@163.com 时间(2024-02-18 22:38:21)
func NewUploadFuncService ¶
func NewUploadFuncService() *UploadFuncService
func (*UploadFuncService) ExeFunc ¶
func (this *UploadFuncService) ExeFunc(ctx *gin.Context) (any, error)
func (*UploadFuncService) Execute ¶
func (this *UploadFuncService) Execute(c *gin.Context)
@Summary 文件上传 @Tags 文件服务 @Description 命令 @Produce json @Accept multipart/form-data @Param filedown formData filedown true "filedown" @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /filedown/upload [post]