初始化
This commit is contained in:
24
api/site/v1/site.go
Normal file
24
api/site/v1/site.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package v1
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
// HomeReq 是官网首页聚合内容请求。
|
||||
type HomeReq struct {
|
||||
g.Meta `path:"/api/site/home" tags:"官网" method:"get" summary:"获取官网首页内容"`
|
||||
}
|
||||
|
||||
type HomeRes struct{}
|
||||
|
||||
// SettingsReq 获取前台站点公开配置。
|
||||
type SettingsReq struct {
|
||||
g.Meta `path:"/api/site/settings" tags:"官网" method:"get" summary:"获取站点公开配置"`
|
||||
}
|
||||
|
||||
type SettingsRes struct{}
|
||||
|
||||
// RecruitJobsReq 获取前台招聘职位。
|
||||
type RecruitJobsReq struct {
|
||||
g.Meta `path:"/api/recruit/jobs" tags:"招聘" method:"get" summary:"获取招聘职位"`
|
||||
}
|
||||
|
||||
type RecruitJobsRes struct{}
|
||||
Reference in New Issue
Block a user