refactor: 产品购买链接同型号平台校验

This commit is contained in:
2025-02-26 13:42:19 +08:00
parent 016ce5792b
commit 6ced0940ff
3 changed files with 34 additions and 7 deletions

View File

@@ -77,7 +77,7 @@ class ProductValidate extends Validate
'skus.*.sku.max' => 'sku不能超过125个字符',
'skus.*.main_image.max' => 'sku主图不能超过255个字符',
'skus.*.sort.integer' => 'sku排序值类型错误',
'skus.*.attrs.checkSkusAttrsItemType' => 'sku属性值错误',
'skus.*.attrs.checkSkusAttrsItemType' => 'sku属性值错误',
'skus.*.attrs.checkSkusAttrsItemMax' => 'sku属性值错误',
'related.*.related_product_id.integer' => '关联产品ID格式错误',
'related.*.sort.integer' => '关联产品排序值类型错误',