feat : site

This commit is contained in:
2024-11-12 15:57:27 +08:00
parent 6cd80ec1df
commit 8d19882045
2 changed files with 29 additions and 4 deletions

View File

@@ -32,11 +32,11 @@ class SiteRequest extends FormRequest
'address' => 'required|string',
'lng' => 'required|string',
'lat' => 'required|string',
'expected_spend_time' => 'required|string|date_format:i:s',
'expected_spend_time' => 'required|string',
'image_id' => 'sometimes|integer|exists:oss_object,id',
'id' => 'required|integer|exists:site,id',
'query_create_start_time' => 'sometimes|string|date|',
'query_create_end_time' => 'sometimes|string|date|after:query_create_start_time',
'query_create_start_time' => 'sometimes|string|date|required_with:query_create_end_time',
'query_create_end_time' => 'sometimes|string|date|after:query_create_start_time|different:query_create_start_time|required_with:query_create_start_time',
'query_name' => 'sometimes|string',
'query_city_id' =>'sometimes|integer|exists:system_city,id',
'query_status' =>'sometimes|integer|in:1,2',