fix: 完善工坊模板安装预览与详情样例
This commit is contained in:
1 parent
5313fd9d32
commit
50753db79d
16 files changed
+496
-26
No files matched your search
@@ -111,7 +111,8 @@ export class AdminSampleContentService {
|
||||
name: item.name,
|
||||
summary: item.summary,
|
||||
...(item.coverUrl ? { coverUrl: item.coverUrl } : {}),
|
||||
config: { categoryKey: item.categoryKey },
|
||||
...(item.priceText ? { priceText: item.priceText } : {}),
|
||||
config: { ...item.config, categoryKey: item.categoryKey } as Prisma.InputJsonValue,
|
||||
sortOrder,
|
||||
isEnabled: true,
|
||||
})),
|
||||
|
||||
Reference in new issue
Block a user