更新验证

This commit is contained in:
yaooo 2023-09-08 15:53:23 +08:00
parent 11a541c8eb
commit 93cc6046e5

View File

@ -20,7 +20,7 @@ class CommunityValidate extends Validate
protected $failException = true; protected $failException = true;
protected $rule = [ protected $rule = [
'image|图片' => 'require|array', 'image|图片' => 'array',
'content|内容' => 'require|max:600', 'content|内容' => 'require|max:600',
'spu_id|关联商品' => 'array', 'spu_id|关联商品' => 'array',
]; ];