diff --git a/app/admin/scheme/MallGoods.php b/app/admin/scheme/MallGoods.php index c52f99f..e5f8c35 100644 --- a/app/admin/scheme/MallGoods.php +++ b/app/admin/scheme/MallGoods.php @@ -40,10 +40,10 @@ class MallGoods extends BaseScheme #[Field(type: 'text', comment: '商品属性')] public $property; - #[Field(type: 'decimal', length: 8, precision: 8, scale: 2, default: '0.00', comment: '市场价')] + #[Field(type: 'decimal', precision: 8, scale: 2, default: '0.00', comment: '市场价')] public $market_price; - #[Field(type: 'decimal', length: 8, precision: 8, scale: 2, default: '0.00', comment: '折扣价')] + #[Field(type: 'decimal', precision: 8, scale: 2, default: '0.00', comment: '折扣价')] public $discount_price; #[Field(type: 'int', length: 11, default: '0', comment: '销量', unsigned: true)]