地图api

This commit is contained in:
2026-01-01 15:19:18 +08:00
parent b8a9f9b62e
commit 09f117e59c
17 changed files with 99 additions and 13 deletions

View File

@@ -30,6 +30,8 @@ class GoodsOneSpec extends Validate
'one_stock' => 'require|integer',
'one_volume' => 'egt:0',
'one_weight' => 'egt:0',
'type' => 'require',
'points' => 'egt:0',
];
protected $message = [
@@ -45,6 +47,8 @@ class GoodsOneSpec extends Validate
'one_cost_price.egt' => '成本价必须大于或等于0.01',
'one_stock.require' => '请输入库存',
'one_stock.integer' => '库存必须为整型',
'type.require' => '请选择规格类型',
'points.egt' => '积分必须为正整数',
];