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
+21
View File
@@ -0,0 +1,21 @@
package proto
// SlugSyncReq 后台补齐历史空 slug 请求
type SlugSyncReq struct {
MaxSize int64 `json:"maxSize"` // 本次最多处理的空 slug 记录数,默认500,最大2000
Type string `json:"type"` // 可选,指定类型;空则按顺序处理全部
}
// SlugSyncResp 后台补齐历史空 slug 响应
type SlugSyncResp struct {
VideoUpdated int64 `json:"videoUpdated"` // 本次补齐的视频数
VideoCategoryUpdated int64 `json:"videoCategoryUpdated"` // 本次补齐的视频分类数
ActressUpdated int64 `json:"actressUpdated"` // 本次补齐的女优数
VideoCreaterUpdated int64 `json:"videoCreaterUpdated"` // 本次补齐的作者数
PlayletUpdated int64 `json:"playletUpdated"` // 本次补齐的短剧数
PlayletCategoryUpdated int64 `json:"playletCategoryUpdated"` // 本次补齐的短剧分类数
PlayletThemeUpdated int64 `json:"playletThemeUpdated"` // 本次补齐的短剧主题数
ContentTagUpdated int64 `json:"contentTagUpdated"` // 本次补齐的统一标签数
TotalUpdated int64 `json:"totalUpdated"` // 本次合计补齐数
HasMore bool `json:"hasMore"` // 是否还有未处理的历史数据
}