feat: 完善通用服务后台配置能力

This commit is contained in:
que01 committed 2026-09-19 16:50:32 +08:00
1 parent 60ca897574
commit d167b58a05
6 files changed
+46 -3

No files matched your search

@@ -0,0 +1,2 @@
ALTER TABLE "Service" ADD COLUMN "categoryKey" TEXT NOT NULL DEFAULT 'standard';
ALTER TABLE "Service" ADD COLUMN "config" JSONB;
+2
View File
@@ -59,6 +59,8 @@ model Service {
brand BrandProfile @relation(fields: [brandId], references: [id])
name String
description String
categoryKey String @default("standard")
config Json?
coverUrl String?
priceText String?
priceAmount Int?