51 lines
3.1 KiB
Go
51 lines
3.1 KiB
Go
package proto
|
|
|
|
// HotNavItem 热门导航
|
|
type HotNavItem struct {
|
|
Id int64 `json:"id"` // ID
|
|
Title string `json:"title"` // 标题
|
|
Intro string `json:"intro"` // 介绍
|
|
Url string `json:"url"` // 链接
|
|
Icon string `json:"icon"` // 图标
|
|
}
|
|
|
|
// DHHtmlData 导航数据
|
|
type DHHtmlData struct {
|
|
Path string `json:"path"`
|
|
CompletePath string `json:"completePath" form:"completePath"`
|
|
Translations AppTranslationInfo `json:"translations" form:"translations"` // 导航
|
|
BottonTranslations AppTranslationInfo `json:"bottonTranslations" form:"bottonTranslations"` // 底部导航
|
|
Config ConfigInfo `json:"config" form:"config"` // 配置文件
|
|
Announcement AnnouncementInfo `json:"announcement" form:"announcement"` // 公告
|
|
RichTextInfo RichTextInfo `json:"richTextInfo" form:"richTextInfo"` // 富文本
|
|
HotSearch []*HotSearchItem `json:"hotSearch" form:"hotSearch"` // 热搜
|
|
Advitise AdvitiseData `json:"advitise" form:"advitise"` // 广告
|
|
HotNavs []HotNavItem `json:"hotNavs"` // 热门导航
|
|
}
|
|
|
|
// DHConsultingHtmlData 招募
|
|
type DHConsultingHtmlData struct {
|
|
Path string `json:"path"`
|
|
CompletePath string `json:"completePath" form:"completePath"`
|
|
Translations AppTranslationInfo `json:"translations" form:"translations"` // 导航
|
|
BottonTranslations AppTranslationInfo `json:"bottonTranslations" form:"bottonTranslations"` // 底部导航
|
|
Config ConfigInfo `json:"config" form:"config"` // 配置文件
|
|
Announcement AnnouncementInfo `json:"announcement" form:"announcement"` // 公告
|
|
RichTextInfo RichTextInfo `json:"richTextInfo" form:"richTextInfo"` // 富文本
|
|
HotSearch []*HotSearchItem `json:"hotSearch" form:"hotSearch"` // 热搜
|
|
Advitise AdvitiseData `json:"advitise" form:"advitise"` // 广告
|
|
}
|
|
|
|
// DHConsultingInfoHtmlData 招募
|
|
type DHConsultingInfoHtmlData struct {
|
|
Path string `json:"path"`
|
|
CompletePath string `json:"completePath" form:"completePath"`
|
|
Translations AppTranslationInfo `json:"translations" form:"translations"` // 导航
|
|
BottonTranslations AppTranslationInfo `json:"bottonTranslations" form:"bottonTranslations"` // 底部导航
|
|
Config ConfigInfo `json:"config" form:"config"` // 配置文件
|
|
Announcement AnnouncementInfo `json:"announcement" form:"announcement"` // 公告
|
|
RichTextInfo RichTextInfo `json:"richTextInfo" form:"richTextInfo"` // 富文本
|
|
HotSearch []*HotSearchItem `json:"hotSearch" form:"hotSearch"` // 热搜
|
|
Advitise AdvitiseData `json:"advitise" form:"advitise"` // 广告
|
|
}
|