代码提交

This commit is contained in:
Linzm committed 2026-01-19 09:59:41 +08:00
1 parent b52dcc0842
commit 04d89f4a9a
2 files changed
+4 -276

No files matched your search

+2 -29
View File
@@ -15,7 +15,8 @@ export const cartoonConfig = {
2: { name: '浮雕相框', key: 'relief_frame' },
3: { name: '3D冰箱贴', key: 'fridge_magnet' },
4: { name: '3D卡通手办', key: 'cartoon_figure' },
6: { name: '浮雕挂饰', key: 'relief_pendant' }
6: { name: '浮雕挂饰', key: 'relief_pendant' },
8: { name: '摇摇乐', key: 'shake_toy' }
},
// 主体类型配置
@@ -58,8 +59,6 @@ export const cartoonConfig = {
// 产品限制配置
productLimits: {
// 根据产品ID配置是否需要人脸检测
faceCheckRequired: [7, 1, 25],
// 根据产品ID配置是否支持多视角参考图
multiViewSupported: [19],
// 根据产品ID配置是否支持风格类型
@@ -94,32 +93,6 @@ export const cartoonConfig = {
order: '@/assets/badge/order.png'
},
// 提示信息配置
messages: {
personPhotoTip: {
single: '1',
multiple: '1-3',
unit: '人'
},
petPhotoTip: {
count: '1-3',
unit: '只'
}
},
// 业务规则配置
businessRules: {
// 禁止的产品ID组合(typeId, subjectId)
disabled: [
{ typeId: 3, subjectId: 7, message: '人物3D冰箱贴暂未开放' }
],
// 订单类型限制(typeId, currentProdId, targetSubjectId, message)
orderRestrictions: [
{ typeId: 4, prodId: 19, targetSubjectId: 8, message: '该订单属于宠物卡通手办' },
{ typeId: 4, prodId: 1, targetSubjectId: 7, message: '该订单属于人物卡通手办' }
]
},
// 样式配置
styles: {
colors: {