fix(*): 质量检查 - 修复预演保存、增量同步与缺失资源恢复

This commit is contained in:
ddcat666 committed 2026-10-12 00:37:15 +08:00
1 parent 298bee1fa9
commit 27c8066e6d
20 files changed
+257 -71

No files matched your search

+4 -2
View File
@@ -169,10 +169,12 @@ func (s *Service) publicSystemChannelCatalog(intent *ModelRequestIntent) ([]Publ
}
if len(publicModels) > 0 {
// 系统渠道的真实名称属于内部部署信息(供应商、中转站、内部命名等),
// 不得通过普通用户可访问的创作目录泄漏。前端只依赖 ID 做分组,名称留空后由客户端统一展示为“系统模型”。
result = append(result, PublicChannelCatalog{
ID: channel.ID,
Name: channel.Name,
DisplayName: channel.Name,
Name: "",
DisplayName: "",
SortOrder: channel.SortOrder,
Models: publicModels,
})