package
Version:
v3.0.0-...-e0c4818
Opens a new window with list of versions in this module.
Published: Nov 21, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Author struct {
Authorization string `p:"Authorization" in:"header" dc:"Bearer {{token}}"`
}
type CaptchaReq struct {
g.Meta `path:"/get" tags:"验证码" method:"get" summary:"获取验证码"`
}
type CaptchaRes struct {
g.Meta `mime:"application/json"`
Key string `json:"key"`
Img string `json:"img"`
}
type EmptyRes struct {
g.Meta `mime:"application/json"`
}
EmptyRes 不响应任何数据
type ListRes struct {
CurrentPage int `json:"currentPage"`
Total interface{} `json:"total"`
}
ListRes 列表公共返回
Source Files
¶
Click to show internal directories.
Click to hide internal directories.