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
+17
View File
@@ -0,0 +1,17 @@
package appser
import (
"context"
"videoweb/app/api/proto"
"videoweb/app/service/configser"
"videoweb/pub/common/srvdef"
)
// AppCategoryData 查询应用分类列表及当前分类数据
func AppCategoryData(ctx context.Context, categoryId int64) ([]proto.AppCategoryInfo, proto.AppCategoryInfo, *srvdef.SrvErr) {
list := GetAppListCache()
category := GetCategoryCache(categoryId)
configser.RewriteImageCdn(ctx, &list)
configser.RewriteImageCdn(ctx, &category)
return list, category, nil
}