This commit is contained in:
Aether
2025-09-25 10:01:34 +08:00
parent 0ca8d067c6
commit 3c89a01a81
4 changed files with 96 additions and 2 deletions

View File

@@ -54,6 +54,8 @@ class CampusValidator extends AetherValidator
'province' => 'nullable|string|max:100',
'city' => 'nullable|string|max:100',
'status' => 'nullable|integer|in:0,1',
'page' => 'nullable|integer|min:1',
'size' => 'nullable|integer|min:1|max:100',
],
'messages' => [
'level.in' => '层级只能是1、2、3',