Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileloadFuncService ¶
type FileloadFuncService struct {
funchandler.FuncService
}
func NewFileloadFuncService ¶
func NewFileloadFuncService() *FileloadFuncService
func (*FileloadFuncService) ExecuteDownload ¶
func (this *FileloadFuncService) ExecuteDownload(c *gin.Context)
@Summary 下载命令 @Tags 文件服务 @Description 下载命令
##// @Param filename query string true "file name"
@Success 200 {object} gin.Context
@Router /download [post]
func (*FileloadFuncService) ExecuteInt64 ¶
func (this *FileloadFuncService) ExecuteInt64(ctx *gin.Context)
@Summary 文件服务int64 @Tags 文件服务 @Description 文件服务int64 @Produce json @Accept json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /int64 [get]
func (*FileloadFuncService) ExecuteUpload ¶
func (this *FileloadFuncService) ExecuteUpload(c *gin.Context)
@Summary 上传命令 @Tags 文件服务 @Description 上传命令 @Produce json @Accept multipart/form-data @Param file formData file true "file" @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /upload [post]
Click to show internal directories.
Click to hide internal directories.