feat : site

This commit is contained in:
2024-11-12 15:42:37 +08:00
parent 997503ac98
commit 6cd80ec1df

View File

@@ -53,9 +53,10 @@ class SiteRequest extends FormRequest
return []; return [];
} }
public function scenes(): array /**
{ * @var array|array[] $scenes 场景验证规则
return [ */
protected array $scenes = [
'add' => [ 'add' => [
'name', 'name',
'city_id', 'city_id',
@@ -105,4 +106,3 @@ class SiteRequest extends FormRequest
] ]
]; ];
} }
}