mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update
This commit is contained in:
parent
32b5760b8f
commit
02f8b6ca42
@ -16,7 +16,11 @@ class PlanSave extends FormRequest
|
||||
return [
|
||||
'name' => 'required',
|
||||
'group_id' => 'required',
|
||||
'transfer_enable' => 'required'
|
||||
'transfer_enable' => 'required',
|
||||
'month_price' => 'required|numeric',
|
||||
'quarter_price' => 'required|numeric',
|
||||
'half_year_price' => 'required|numeric',
|
||||
'year_price' => 'required|numeric'
|
||||
];
|
||||
}
|
||||
|
||||
@ -25,7 +29,11 @@ class PlanSave extends FormRequest
|
||||
return [
|
||||
'name.required' => '套餐名称不能为空',
|
||||
'group_id.required' => '权限组不能为空',
|
||||
'transfer_enable.required' => '流量不能为空'
|
||||
'transfer_enable.required' => '流量不能为空',
|
||||
'month_price.required' => '月付金额不能为空',
|
||||
'quarter_price.required' => '季付金额不能为空',
|
||||
'half_year_price.required' => '半年付金额不能为空',
|
||||
'year_price.required' => '年付金额不能为空'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user