Initial commit: web_hghl_server

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 16:28:14 +08:00
co-authored by Claude Opus 4.7
commit 65fca60622
653 changed files with 135901 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
package pubdef
// TranslationType 导航类型
type TranslationType int64
const (
TranslationTypeUrl TranslationType = 1 // URL模式
TranslationTypeSub TranslationType = 2 // 二级导航
TranslationTypeBottom TranslationType = 3 // 底部导航
)
const (
TranslationPath_Video = "/video" // 视频首页
TranslationPath_VideoAll = "/video/all" // 全部视频
TranslationPath_VideoRank = "/video/rank" // 视频排行榜
TranslationPath_ActressRank = "/actress/rank" // 女优排行榜
TranslationPath_VideoMore = "/video/more/%d" // 视频分类
)
// FixedNavItem 固定导航路径对应的名称(与路径常量一一对应,供各端统一使用)
const (
TranslationName_Video = "视频首页"
TranslationName_VideoAll = "全部视频"
TranslationName_VideoRank = "视频排行榜"
TranslationName_ActressRank = "女优排行榜"
)