Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileReq ¶
type FileReq struct {
g.Meta `path:"/file/{file_name}" method:"get" tags:"open" summary:"文件接口"`
FileName string `json:"file_name"`
}
文件接口请求参数
type PrivacyPolicyReq ¶ added in v2.3.0
type PrivacyPolicyReq struct {
g.Meta `path:"/privacy/policy" method:"post" tags:"open" summary:"隐私政策接口"`
model.SysConfigReq
}
隐私政策接口请求参数
type PrivacyPolicyRes ¶ added in v2.3.0
type PrivacyPolicyRes struct {
g.Meta `mime:"application/json" example:"json"`
Content string `json:"content"`
}
隐私政策接口响应参数
type SiteConfigReq ¶
type SiteConfigReq struct {
g.Meta `path:"/site/config" method:"post" tags:"open" summary:"站点配置接口"`
model.SiteConfigDetailReq
}
站点配置接口请求参数
type SiteConfigRes ¶
type SiteConfigRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.SiteConfigDetailRes
}
站点配置接口响应参数
type SysConfigReq ¶
type SysConfigReq struct {
g.Meta `path:"/sys/config" method:"post" tags:"open" summary:"系统配置接口"`
model.SysConfigReq
}
系统配置接口请求参数
type SysConfigRes ¶
type SysConfigRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.SysConfigRes
}
系统配置接口响应参数
type UserAgreementReq ¶ added in v2.3.0
type UserAgreementReq struct {
g.Meta `path:"/user/agreement" method:"post" tags:"open" summary:"用户协议接口"`
model.SysConfigReq
}
用户协议接口请求参数
type UserAgreementRes ¶ added in v2.3.0
type UserAgreementRes struct {
g.Meta `mime:"application/json" example:"json"`
Content string `json:"content"`
}
用户协议接口响应参数
Click to show internal directories.
Click to hide internal directories.