...
|
...
|
@@ -22,7 +22,7 @@ class HireValidate extends Validate |
|
|
'end_time' => 'require',
|
|
|
'address' => 'require',
|
|
|
'else' => 'require',
|
|
|
'people' => 'require',
|
|
|
'people' => 'require|number|max:1000',
|
|
|
];
|
|
|
protected $message = [
|
|
|
'select_id.require' => '雇佣事项不为空!',
|
...
|
...
|
@@ -33,6 +33,8 @@ class HireValidate extends Validate |
|
|
'address.require' => '工作地点不能为空!',
|
|
|
'else.require' => '工作要求不能为空!',
|
|
|
'people.require' => '招聘人数不能为空!',
|
|
|
'people.number' => '招聘人数只能为数字!',
|
|
|
'people.max' => '招聘人数不得超过1000人!',
|
|
|
|
|
|
];
|
|
|
|
...
|
...
|
|