|
@@ -10,7 +10,7 @@ class GoodsValidate extends Validate
|
|
|
'goods_id' => 'require|alphaDash',
|
|
|
'join_goods_category_id' => 'integer',
|
|
|
'join_goods_device_id' => 'max:32',
|
|
|
- 'goods_classify|归类' => 'require|in:GOODS,DEVICE,SERVICE,SPECIAL,RECHARGE,PACKAGE,OTHER',
|
|
|
+ 'goods_classify|归类' => 'require',
|
|
|
'goods_status|状态' => 'require|in:PENDING,ON,OFF,DISABLED',
|
|
|
'goods_category|分类' => 'max:32',
|
|
|
'goods_prefix|前缀' => 'max:64 ',
|