feat(api): public good detail family block behind gray-release flag

This commit is contained in:
yeuimu
2026-08-28 13:40:19 +08:00
parent b4b9fbbe60
commit 6418aa7302
9 changed files with 324 additions and 6 deletions
+5
View File
@@ -715,6 +715,11 @@ export class SyncService {
where: { id: originGoodId },
data: { familyId },
});
// Good 的族随主链接联动
await this.prisma.good.updateMany({
where: { originGoodId },
data: { familyId },
});
this.familyRecompute.enqueue(familyId);
} else {
await this.prisma.productFamily.update({