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 }