v1

package
v2.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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 FileRes

type FileRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

文件接口响应参数

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"`
}

用户协议接口响应参数

type VideoReq

type VideoReq struct {
	g.Meta   `path:"/video/{file_name}" method:"get" tags:"open" summary:"视频接口"`
	FileName string `json:"file_name"`
}

视频接口请求参数

type VideoRes

type VideoRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

视频接口响应参数

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL