Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptchaReq ¶
type CaptchaRes ¶
type PageReq ¶
type PageReq struct { DateRange []string `p:"dateRange"` //日期范围 PageNum int `p:"pageNum"` //当前页码 PageSize int `p:"pageSize"` //每页数 OrderBy string //排序方式 }
PageReq 公共请求参数
type UploadMultipleFileReq ¶
type UploadMultipleFileReq struct {
g.Meta `path:"/multipleFile" tags:"上传多文件" method:"post" summary:"上传多文件"`
}
多文件上传
type UploadMultipleImgReq ¶
type UploadMultipleImgReq struct {
g.Meta `path:"/multipleImg" tags:"上传多图片" method:"post" summary:"上传多图片"`
}
多图上传
type UploadMultipleRes ¶
type UploadMultipleRes []*UploadResponse
type UploadResponse ¶
type UploadSingleFileReq ¶
type UploadSingleFileReq struct {
g.Meta `path:"/singleFile" tags:"上传文件" method:"post" summary:"上传文件"`
}
单文件上传
type UploadSingleImgReq ¶
type UploadSingleImgReq struct {
g.Meta `path:"/singleImg" tags:"上传图片" method:"post" summary:"上传图片"`
}
单图上传
type UploadSingleRes ¶
type UploadSingleRes struct { g.Meta `mime:"application/json"` UploadResponse }
Click to show internal directories.
Click to hide internal directories.