feat : site
This commit is contained in:
@@ -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
|
|||||||
]
|
]
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user