init: web_hgcg_server 初始化提交
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package proto
|
||||
|
||||
// AboutNodeItem 关于我们节点
|
||||
type AboutNodeItem struct {
|
||||
NodeId int64 `json:"nodeId"`
|
||||
Title string `json:"title"`
|
||||
SubTitle string `json:"subTitle"`
|
||||
Content string `json:"content"` // JSON字符串
|
||||
//类型描述:
|
||||
//文本:录入纯文本信息
|
||||
//声明:图片、文本信息
|
||||
//条目:可以录入多条,可删可增
|
||||
//收录:收录类型(文章、网址、工具)、价格、单位、时效、描述
|
||||
//图文:图片、文本信息
|
||||
//注意:图片、文本信息
|
||||
Type int `json:"type"`
|
||||
ServiceDuration string `json:"serviceDuration"` // 服务时效
|
||||
DurationIcon string `json:"durationIcon"` // 时效图标(CDN已处理)
|
||||
Sort int `json:"sort"`
|
||||
}
|
||||
|
||||
// AboutData 关于我们页面数据
|
||||
type AboutData struct {
|
||||
Intro string `json:"intro"` // 简介
|
||||
Nodes []*AboutNodeItem `json:"nodes"` // 节点列表
|
||||
Categories []*ToolCategoryItem `json:"categories"` // 分类列表
|
||||
Site SiteCommonData `json:"site"` // 通用站点数据
|
||||
}
|
||||
Reference in New Issue
Block a user