mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-23 19:37:35 +08:00
feat: add tags to plans, refactor order service, adn fix ticket lock
This commit is contained in:
@@ -34,6 +34,7 @@ class PlanSave extends FormRequest
|
||||
'speed_limit' => 'integer|nullable|min:0',
|
||||
'device_limit' => 'integer|nullable|min:0',
|
||||
'capacity_limit' => 'integer|nullable|min:0',
|
||||
'tags' => 'array|nullable',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -136,6 +137,7 @@ class PlanSave extends FormRequest
|
||||
'device_limit.min' => '设备限制不能为负数',
|
||||
'capacity_limit.integer' => '容量限制必须是整数',
|
||||
'capacity_limit.min' => '容量限制不能为负数',
|
||||
'tags.array' => '标签格式必须是数组',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user