|
@@ -17,9 +17,9 @@ class SubmitBaseInfoRequest extends FormRequest
|
|
|
'nickname' => 'nullable|string|min:2|max:20',
|
|
|
'avatar' => 'nullable|string|max:2048',
|
|
|
'life_photos' => 'nullable|array',
|
|
|
- 'life_photos.*' => 'required|string|max:2048',
|
|
|
- 'gender' => 'required|string|in:1,2',
|
|
|
- 'mobile' => 'required|string|size:11',
|
|
|
+ 'life_photos.*' => 'nullable|string|max:2048',
|
|
|
+ 'gender' => 'nullable|string|in:1,2',
|
|
|
+ 'mobile' => 'nullable|string|size:11',
|
|
|
'birthday' => 'nullable|date|before:' . now()->subYears(18)->format('Y-m-d'),
|
|
|
'work_years' => 'nullable|integer|min:0|max:99',
|
|
|
'intention_city' => 'nullable|string|max:50',
|